Пример #1
0
 private void ProcessMovement()
 {
     if (!movingToPointOne) // TODO CHANGE DEPENDING ON THE LOOK DIRECTION
     {
         aIMovement.SetMoveLeft(false);
     }
     if (movingToPointOne)
     {
         aIMovement.SetMoveLeft(true);
     }
 }
Пример #2
0
 private void FollowTarget()//TODO MAKE MOVEMENT CONTROLLER FOR NPCS
 {
     if (targetIsLeft)
     {
         aIMovement.SetMoveLeft(true);
     }
     else
     {
         aIMovement.SetMoveLeft(false);
     }
 }