- Home /
Assets/Scripts/PlayerControl.cs(4,21): error CS8025: Parsing error
when posting about code problems, please post the code not a screen shot of it...
Answer by Landern · Aug 24, 2015 at 01:06 PM
change line 4 from using the global:: attempt at a namespace prefix to just PlayerControl
example:
public class PlayerControl : MonoBehaviour
instead of:
public class global:: : MonoBehaviour
Generally speaking the double colon "::" is used to resolve global/namespace conflicts in the global, this is needed when name space definitions may override the global name space locally. An example would be to use System as a name space which would internationally hide the System.Console.Writeline namespace and method.
Your answer
Follow this Question
Related Questions
I can not set resolution 1 Answer
Unknown identifier: 'supportDX11'. Error Fix? 1 Answer
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors 0 Answers
How do I fix my Unity and my .Net framework? 0 Answers
Error CS1704 0 Answers