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