예제 #1
0
 // Update is called once per frame
 void Update()
 {
     if (IsIdle)
     {
     }
     else if (IsMovingRight)
     {
         MoveRight();
         platformEnemyyAnimation.MoveRight();
     }
     else
     {
         MoveLeft();
         platformEnemyyAnimation.MoveLeft();
     }
 }