void Start(){ enemiesList = new List<GameObject>(); colorList = new List<Color>(); InitGame(); guiCanvas = FindObjectOfType<GUIManager> (); var plRef = FindObjectOfType<PlayerMovement>(); plRef.spelling_flag = true; levelComplete = false; }
void Awake(){ if (instance == null) instance = this; else if (instance != null) Destroy (this); }