Beispiel #1
0
    public void PlayerNoticed(PlayerMovement player)
    {
        this.player = player;

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