Example #1
0
 void Awake()
 {
     _thisTransform           = transform;
     _thisCharacterController = GetComponent <CharacterController>();
     _cameraRig   = GetComponentInChildren <AirVRStereoCameraRig>();
     _headLocator = transform.FindChild("Body/HeadLocator");
     _soundShot   = transform.FindChild("SoundShot").GetComponent <AirVRSampleAudioSource>();
 }