Пример #1
0
 private void OnEnemyWasDestroyed(Enemy sender)
 {
     sender.Destroyed -= OnEnemyWasDestroyed;
     if (!wasDestroyed)
     {
         SpawnEnemy();
         StatisticController.AddEnemy();
     }
 }