private void Start()
        {
            // Get EyeTracker unity object
            _eyeTracker = VREyeTracker.Instance;
            if (_eyeTracker == null)
            {
                Debug.Log("Failed to find eye tracker, has it been added to scene?");
            }

            _gazeTrail       = VRGazeTrail.Instance;
            _lookAtSignColor = new Color(0, 1, 0, 0.2f);

            _highlightInfo = new ActiveObject();
            var textRenderer = _textCalibration.GetComponent <Renderer>();

            textRenderer.sortingOrder -= 1;
        }
Example #2
0
        private void Start()
        {
            // Get EyeTracker unity object
            _eyeTracker = VREyeTracker.Instance;
            if (_eyeTracker == null)
            {
                Debug.Log("Failed to find eye tracker, has it been added to scene?");
            }

            _calibratedSuccessfully = false;
            _recordingData          = false;
            _controllerRight        = null;
            _controllerLeft         = null;
            _visualizeGaze          = true;
            _highlightInfo          = new ActiveObject();
            _quitTime     = false;
            _file         = null;
            _fileSettings = null;
        }