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