Ejemplo n.º 1
0
 void Start()
 {
     startingPosition = transform.localPosition;
     renderer         = GetComponent <Renderer>();
     SetGazedAt(false);
     zoomStatus       = false;
     fire             = GetComponent <AudioSource>();
     movementControls = Player.GetComponent <VRLookWalk>();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     counterTrack     = 0;
     movementControls = Player.GetComponent <VRLookWalk>();
 }