- Home /
The question is answered, right answer was accepted
Need help with editor (script?)
Good morning/day/evening! After Locomotion System i've got problems, when starting check level. So, that is in console: "Assets/Locomotion System/GhostOriginal.cs(4,14): error CS0101: The namespace `global::' already contains a definition for `GhostOriginal'" What's that? Help me, please
Answer by Kryptos · Sep 11, 2012 at 09:33 AM
It means that you have another script somewhere with the exact same name (GhostOriginal.cs or GhostOriginal.js) and/or the same class definition (class GhostOriginal
).
But this is not allowed. Looks like you have an old version of the same script.
Note: with Unity 4.0, you would be able to solve this kind of issue with namespaces (in case you want to keep two versions of the same script).
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Cross project scripting? 1 Answer
How can an editor script know when another script was removed from the project? 1 Answer
Detecting serialization reload in editor 1 Answer
How to get variables of the script show in unity editor/inspector? 2 Answers