// Update is called once per frame private void Start() { //rightHand = GameObject.Find("debugCube"); leftHand = GameObject.Find("LeftHand"); rightHand = GameObject.Find("RightHand"); vibration = vibrationManager.GetComponent <ControlerVibration>(); _audio = audioManager.GetComponent <AudioManager>(); }
private void Start() { bodySnapPointPosition = bodySnapPoint.transform.position; originalHeadPosition = head.transform.position; originalHeadRotation = head.transform.rotation; headRigidbody = head.GetComponent <Rigidbody>(); headRigidbodySript = head.GetComponent <oxRigidbody>(); _customThrowable = head.GetComponent <CustomThrowable>(); rightHand = GameObject.Find("RightHand"); leftHand = GameObject.Find("LeftHand"); _oxEventManager = head.GetComponent <oxEventManager>(); vibration = vibrationManager.GetComponent <ControlerVibration>(); }