Question by
Frankuu · Oct 09, 2016 at 05:22 AM ·
gameobjectarray
Parsing Error CS8025
How to fix this?!?! I have tried adding/removing curly brackets and nothing is working
capture.png
(19.6 kB)
Comment
Answer by JedBeryll · Oct 09, 2016 at 05:45 AM
Problem is you never specify a class. The class declaration should go in the 3rd line, something like this:
public class PlayerController : MonoBehaviour {
And at the end of the script you need to close it with a }
.