Esempio n. 1
0
 private void OnMouseOverPotentiallyWalkable(Vector3 destination)
 {
     if (Input.GetMouseButton(0) && enabled)
     {
         StopAllCoroutines();
         playerCombat.ClearQueuedAbility();
         motor.StopFollowingTarget();
         motor.MoveToPoint(destination);
     }
 }