문제

I recently updated a project I wrote in April 2013 to the latest version of Unity (OS X to Windows also, if that affects anything). I'm now getting a few errors, all of the following form:

Assets/Scripts/PauseMenu.cs(4,14): error CS0101: The namespaceglobal::' already contains a definition for PauseMenu'

I'm not sure how to find where PauseMenu might be defined in the global namespace. Is there a way to find where it's original definition is? I didn't have this problem before moving the project over.

도움이 되었습니까?

해결책

I found the files. They were sitting in an "unused" directory. I'm not sure at this point why I kept those files around, but it makes sense now that this was a problem.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top