Question by
rishab2002 · Jan 07, 2017 at 04:24 PM ·
c#voidpong
How do i fix this void error?
I keep getting the error: Unexpected symbol 'void", and i have looked at other people who have asked similar questions and it didnt help. I am trying to make a pong game. Please can u help? my void Start and void Update isnt working.
screenshot-248.png
(134.8 kB)
Comment
Answer by KoenigX3 · Jan 07, 2017 at 09:46 PM
As i can see, you have closed the scope of the class before 'void Start()'.
Remove the curly bracket before the Start() function, and it should compile.