HandleInputMouse() 정적인 개인적인 메소드

static private HandleInputMouse ( Vector3 &move ) : void
move Vector3
리턴 void
예제 #1
0
 public static void Update()
 {
     if (Input.GetMouseButtonDown(0))
     {
         OVRTouchpad.moveAmountMouse = Input.mousePosition;
         OVRTouchpad.touchState      = OVRTouchpad.TouchState.Down;
     }
     else if (Input.GetMouseButtonUp(0))
     {
         OVRTouchpad.moveAmountMouse -= Input.mousePosition;
         OVRTouchpad.HandleInputMouse(ref OVRTouchpad.moveAmountMouse);
         OVRTouchpad.touchState = OVRTouchpad.TouchState.Init;
     }
 }