void Update() { if (Input.GetKeyDown(KeyCode.Alpha0) || Input.GetKeyDown(KeyCode.Keypad0)) { enemiesCount.Clear(); } if (enemiesCount.Count == 0) { buttonManager.ChangeToWin(); } }
void Update() { if (Input.GetKeyDown(KeyCode.Alpha0) || Input.GetKeyDown(KeyCode.Keypad0)) { enemiesCount.Clear(); } if (enemiesCount.Count == 0) { buttonManager.ChangeToWin(); } }