Beispiel #1
0
    private void Die(ShootingAgent shooter)
    {
        shooter.RegisterKill();

        gameObject.SetActive(false);
        enemyManager.RegisterDeath();
    }
Beispiel #2
0
 private void Die(ShootingAgent shooter)
 {
     shooter.RegisterKill();
     Debug.Log(message: "I Died!");
     Respawn();
 }