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; }
// Start is called before the first frame update void Start() { ovrInput = GameObject.Find("OVRControllerInput").GetComponent <OVRControllerInputProvider>(); }
void Start() { isCalibrating = false; calibrationMarkers = new List <GameObject>(); ovrInput = GameObject.Find("OVRControllerInput").GetComponent <OVRControllerInputProvider>(); }