private void Awake() { wavesList = GetComponent <WavesList>(); enemySpawner = GameObject.FindGameObjectWithTag(Tags.EnemiesSpawner).GetComponent <EnemySpawner>(); EnemyActions.OnDied += OnEnemyDied; waveNumber = -1; isPaused = false; }
private void Awake() { wavesList = GetComponent <WavesList>(); waves = new Wave [3]; }