Ejemplo n.º 1
0
        private void Start()
        {
            _controllersParameter = ControllersParametersVariable.Instance;
            _gazeParameter        = GazeParametersVariable.Instance;
            _interactionContainer = InteractionVariableContainer.Instance;

            // We check if the user is at least using the gaze or the controllers
            if (!_controllersParameter.UseControllers && !_gazeParameter.UseGaze)
            {
                this.enabled = false;
            }

            SetupVRComponents();
        }
Ejemplo n.º 2
0
        private void Start()
        {
            // Init
            _controllersParameters = ControllersParametersVariable.Instance;
            _gazeParameters        = GazeParametersVariable.Instance;
            _interactionContainer  = InteractionVariableContainer.Instance;

            if (_gazeParameters.UseGaze && _gazeParameters.UseDifferentStates)
            {
                _checkGazeStates = true;
            }

            SetupVRComponents();
        }