Beispiel #1
0
    public void OnEnemyDied(GridSlot slot, EnemyScript enemy)
    {
        slot.InstanciateEnemyDelayed(enemyRespawnDelay,
                                     enemies[Mathf.Min(slot.currentDifficulty, enemies.Count - 1)]);

        onEnemyDied.Invoke();
    }