Example #1
0
		void Start(){
            enemiesList = new List<GameObject>();
            colorList = new List<Color>();
            InitGame();

			guiCanvas = FindObjectOfType<GUIManager> ();
            var plRef = FindObjectOfType<PlayerMovement>();
            plRef.spelling_flag = true;
            levelComplete = false;
            
		}
Example #2
0
		void Awake(){
			if (instance == null)
				instance = this;
			else if (instance != null)
				Destroy (this);
		}