Esempio n. 1
0
            public static bool GetTriggerButton(bool right = true) => OvrInputOrig.FOBLBPHKFHA(right ? OvrInputControls.One : OvrInputControls.Three); // if right get A otherwise get X

            // OVRInput.GetLocalControllerPosition -- find `().position` (returns: Vector3)
            public static Vector3 GetLocalControllerPosition(bool right = true) => OvrInputOrig.GPOGMGNBLEG(right ? OvrInputControllers.RTouch : OvrInputControllers.LTouch);
Esempio n. 2
0
 // OVRInput.Get() -- find by searching `.None,` (returns: bool)
 public static bool GetTriggerButton(bool right = true) => OvrInputOrig.FOBLBPHKFHA(right ? OvrInputControls.One : OvrInputControls.Three); // if right get A otherwise get X