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; }
private void OnKeyMiddle(float amount) { OnScreenMoved.Trigger(MouseDelta); }