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

            if (CameraController == null)
            {
                Debug.LogWarning("WARNING: IVRCameraController not found!");
            }
        }
        private float DistK0, DistK1, DistK2, DistK3 = 0.0f;    // lens distortion parameters

        void Awake()
        {
            _instance = this;
        }