internal void CheckMouseButton(MouseInputEventArgs mouseArgs) { if (mouseArgs.Button != MouseButton) { return; } if (mouseArgs.pressed && !status) { FlipStatus(); } if (!mouseArgs.pressed && status) { FlipStatus(); } }
private void MouseMove(MouseInputEventArgs mouseArgs) { OnEnter(); OnExit(); }
private void MoveTarget(MouseInputEventArgs args) { target.transform.position = InputManager.Manager.MouseCursor + parent.transform.position - Statics.GetResolition(ViewManager.Instance.ScreenSize) / 2f; }