private void OnKeyMiddle(float amount)
 {
     if (!GameActive.Value)
     {
         return;
     }
     OnScreenMoved.Trigger(MouseDelta * 0.5f);
     MouseStartPos = MousePosition.Value;
 }
 private void OnArrow()
 {
     if (!GameActive.Value)
     {
         return;
     }
     if (UpdatedArrowsThisFrame)
     {
         return;
     }
     OnScreenMoved.Trigger(GetArrowVectors);
     UpdatedArrowsThisFrame = true;
 }
예제 #3
0
 private void OnKeyMiddle(float amount)
 {
     OnScreenMoved.Trigger(MouseDelta);
 }