Exemplo n.º 1
0
    void Start()
    {
        // Get the IVRCameraController
        CameraController = gameObject.transform.parent.parent.GetComponent <IVRCameraController>();

        if (CameraController == null)
        {
            Debug.LogWarning("WARNING: IVRCameraController not found!");
        }
    }
Exemplo n.º 2
0
    void Start()
    {
        // Get the IVRCameraController
        CameraController = gameObject.transform.parent.parent.GetComponent<IVRCameraController>();

        if (CameraController == null)
            Debug.LogWarning("WARNING: IVRCameraController not found!");
    }
Exemplo n.º 3
0
 void Awake()
 {
     _instance = this;
 }
Exemplo n.º 4
0
 void Awake()
 {
     _instance = this;
 }