예제 #1
0
    private void Awake()
    {
        wavesList            = GetComponent <WavesList>();
        enemySpawner         = GameObject.FindGameObjectWithTag(Tags.EnemiesSpawner).GetComponent <EnemySpawner>();
        EnemyActions.OnDied += OnEnemyDied;

        waveNumber = -1;
        isPaused   = false;
    }
예제 #2
0
 private void Awake()
 {
     wavesList = GetComponent <WavesList>();
     waves     = new Wave [3];
 }