コード例 #1
0
ファイル: IdleState.cs プロジェクト: jishclurk/CapstoneGame
 public void UpdateState()
 {
     //Debug.Log("IDLE");
     WatchActivePlayer();
     aiPlayer.CheckForCombat();
     aiPlayer.animController.AnimateIdle();
 }
コード例 #2
0
ファイル: MoveState.cs プロジェクト: jishclurk/CapstoneGame
 public void UpdateState()
 {
     FollowActivePlayer();
     aiPlayer.CheckForCombat();
     aiPlayer.animController.AnimateMovement(aiPlayer.walkSpeed);
 }