Exemple #1
0
 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());
 }
Exemple #3
0
 void Start()
 {
     chargeCyclone       = RegenerateEnergyOverTime();
     shipAnim            = ship.GetComponentInChildren <Animator>();
     anim                = GetComponentInChildren <Animator>();
     soundEffectsManager = SoundEffectsManager.Instance();
 }
Exemple #4
0
    protected override void Start()
    {
        musicManager        = MusicManager.Instance();
        soundEffectsManager = SoundEffectsManager.Instance();

        health.value = fullHealth;
        StartCoroutine(RegenerateShieldOverTime());
        this.OnDeath += OnShipDeath;
    }
Exemple #5
0
    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();
    }
Exemple #6
0
 void Start()
 {
     soundEffectsManager = SoundEffectsManager.Instance();
 }
Exemple #7
0
 private void Awake()
 {
     soundEffectsManager = SoundEffectsManager.Instance();
 }
Exemple #8
0
 void Awake()
 {
     soundEffectsManager = SoundEffectsManager.Instance();
     StartCoroutine(ExecuteAfterTime(delayShowTime));
 }
Exemple #9
0
 protected virtual void Start()
 {
     soundEffectsManager = SoundEffectsManager.Instance();
 }
Exemple #10
0
 private void Awake()
 {
     scoreManager        = ScoreManager.Instance();
     timeManager         = TimeManager.Instance();
     soundEffectsManager = SoundEffectsManager.Instance();
 }