Esempio n. 1
0
 public void battleMenuCancelMovement()
 {
     if (selectedUnit != null)
     {
         selectedUnit.StopCoroutine("MoveAlongPath");
         actionLocked   = false;
         state_selector = 1;
         selectedUnit.updatePosition();
     }
     else
     {
         //Debug.Log("no unit asigned");
     }
 }