Esempio n. 1
0
 public void StartPhase()
 {
     isGameRunning  = true;
     currentSpawner = Instantiate(collectableSpawner, spawnerPosition, Quaternion.identity);
     currentSpawner.GetComponent <CollectableSpawner>().fuelChance = fuelChance;
     upgradeUI.SetActive(false);
     earthAnim.SetBool("isGameRunning", true);
     SoundManager.PlayAudioSource(audioSource);
     armourManager.ResetArmour();
     fuelManager.ResetFuel();
 }