예제 #1
0
        internal void CheckMouseButton(MouseInputEventArgs mouseArgs)
        {
            if (mouseArgs.Button != MouseButton)
            {
                return;
            }

            if (mouseArgs.pressed && !status)
            {
                FlipStatus();
            }
            if (!mouseArgs.pressed && status)
            {
                FlipStatus();
            }
        }
예제 #2
0
 private void MouseMove(MouseInputEventArgs mouseArgs)
 {
     OnEnter();
     OnExit();
 }
예제 #3
0
 private void MoveTarget(MouseInputEventArgs args)
 {
     target.transform.position = InputManager.Manager.MouseCursor + parent.transform.position - Statics.GetResolition(ViewManager.Instance.ScreenSize) / 2f;
 }