示例#1
0
 void Start()
 {
     ovrInput         = GameObject.Find("OVRControllerInput").GetComponent <OVRControllerInputProvider>();
     lookAtConstraint = RController.GetComponent <LookAtConstraint>();
     lookAtConstraint.constraintActive = false;
     Destroy(RConfigurableJoint);
     Destroy(LConfigurableJoint);
     hasLJoint         = false;
     hasRJoint         = false;
     originalTransform = gameObject.transform;
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     ovrInput = GameObject.Find("OVRControllerInput").GetComponent <OVRControllerInputProvider>();
 }
示例#3
0
 void Start()
 {
     isCalibrating      = false;
     calibrationMarkers = new List <GameObject>();
     ovrInput           = GameObject.Find("OVRControllerInput").GetComponent <OVRControllerInputProvider>();
 }