private void OnKeyMiddleUp()
 {
     if (!GameActive.Value)
     {
         return;
     }
     MouseStartPos = Vector2.zero;
     OnScreenEndMove.Trigger();
 }
 private void OnArrowUp()
 {
     if (!GameActive.Value)
     {
         return;
     }
     if (UpdatedArrowsThisFrame)
     {
         return;
     }
     OnScreenEndMove.Trigger();
 }
Exemple #3
0
 private void OnKeyMiddleUp()
 {
     MouseStartPos = Vector2.zero;
     OnScreenEndMove.Trigger(MousePosition.Value);
 }