mirror of
https://github.com/ryzij/Cube-Tower-Defense.git
synced 2026-07-14 01:56:57 +00:00
Добавил контроллер для отслеживания победы/поражения
This commit is contained in:
@@ -35,7 +35,7 @@ public class EnemySpawner : MonoBehaviour
|
||||
_gameManager.OnLevelChanged -= OnLevelChanged;
|
||||
}
|
||||
|
||||
private void OnLevelChanged(Level level) => StartCoroutine(SpawnCoroutine(level));
|
||||
private void OnLevelChanged(GameManager.OnLevelChangedEventArgs args) => StartCoroutine(SpawnCoroutine(args.Level));
|
||||
|
||||
private IEnumerator SpawnCoroutine(Level level)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user