Exemplo n.º 1
0
    private void Die(ShootingAgent shooter)
    {
        shooter.RegisterKill();

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