示例#1
0
 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>();
 }
示例#3
0
 // Start is called before the first frame update
 void Start()
 {
     rotator     = GetComponentInChildren <VRTK_PhysicsRotator>();
     sendMessage = false;
 }