public void PlayerNoticed(PlayerMovement player)
    {
        this.player = player;

        if (ui != null)
        {
            ui.NoticedPlayer();
        }
    }
Exemple #2
0
 public void PlayerNoticed(PlayerMovement player)
 {
     this.player       = player;
     currentAlarmState = enemyState.NoticedPlayer;
     if (ui != null)
     {
         ui.NoticedPlayer();
     }
 }
Exemple #3
0
 public void PlayerNoticed(PlayerMovement player, Vector3 whereToLook)
 {
     this.player         = player;
     wherePlayerLastSeen = whereToLook;
     currentAlarmState   = enemyState.NoticedPlayer;
     if (ui != null)
     {
         ui.NoticedPlayer();
     }
 }