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; } }