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

        waveNumber = -1;
        isPaused   = false;
    }
コード例 #2
0
ファイル: WaveController.cs プロジェクト: ikryloff/Circles
 private void Awake()
 {
     wavesList = GetComponent <WavesList>();
     waves     = new Wave [3];
 }