protected virtual void Awake() { player = FindObjectOfType <Player>(); ship = FindObjectOfType <Ship>(); creditManager = CreditManager.Instance(); soundEffectsManager = SoundEffectsManager.Instance(); }
void Start() { musicManager = MusicManager.Instance(); soundEffectsManager = SoundEffectsManager.Instance(); SumEnemies(enemySpawners); //Debug.Log("No. Enemies Total**************************************** " + sumEnemies.ToString()); }
void Start() { chargeCyclone = RegenerateEnergyOverTime(); shipAnim = ship.GetComponentInChildren <Animator>(); anim = GetComponentInChildren <Animator>(); soundEffectsManager = SoundEffectsManager.Instance(); }
protected override void Start() { musicManager = MusicManager.Instance(); soundEffectsManager = SoundEffectsManager.Instance(); health.value = fullHealth; StartCoroutine(RegenerateShieldOverTime()); this.OnDeath += OnShipDeath; }
private void Start() { soundEffectsManager = SoundEffectsManager.Instance(); displayMedkits.color = Color.red; displayMedkits.text = numberOfMedkits.ToString(); displayEnergyCapsules.color = Color.red; displayEnergyCapsules.text = numberOfEnergyCapsules.ToString(); displayLightningBlasts.color = Color.red; displayLightningBlasts.text = numberOfLightningBlasts.ToString(); }
void Start() { soundEffectsManager = SoundEffectsManager.Instance(); }
private void Awake() { soundEffectsManager = SoundEffectsManager.Instance(); }
void Awake() { soundEffectsManager = SoundEffectsManager.Instance(); StartCoroutine(ExecuteAfterTime(delayShowTime)); }
protected virtual void Start() { soundEffectsManager = SoundEffectsManager.Instance(); }
private void Awake() { scoreManager = ScoreManager.Instance(); timeManager = TimeManager.Instance(); soundEffectsManager = SoundEffectsManager.Instance(); }