void Start() { HatchOpenSwitch = GetComponent <VRTK_PhysicsRotator>(); FirstShaft = GameObject.Find("GateDownShaft").GetComponent <Animator>(); firstHatchClosed = true; GateOpenSound = FirstShaft.GetComponent <AudioSource>(); }
// Start is called before the first frame update void Start() { rotator = GetComponentInChildren <VRTK_PhysicsRotator>(); }
// Start is called before the first frame update void Start() { rotator = GetComponentInChildren <VRTK_PhysicsRotator>(); sendMessage = false; }