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