Exemplo n.º 1
0
 private void Player_onRightClick(bool down)
 {
     if (down)
     {
         player.movement.MoveToTarget();
         if (stick != null)
         {
             stick.EnableGrabPoint(true);
         }
     }
     else
     {
         player.movement.ReturnToRestPosition();
         if (stick != null)
         {
             stick.EnableGrabPoint(false);
         }
     }
 }