// Use this for initialization void Awake() { ScreenUtils.Initialize(); ObjectPools.Initialize(); //LoadScene (); //HUD.Initialize (); EventManager.AddGameOverListener(HandleEndGame); tieFighterSpawnTimer = gameObject.AddComponent <Timer> (); tieFighterSpawnTimer.Duration = 1f; tieFighterSpawnTimer.AddTimerFinishedListener(SpawnTieFighter); tieFighterSpawnTimer.Run(); }