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(); }
private void Start() { // Init _controllersParameters = ControllersParametersVariable.Instance; _gazeParameters = GazeParametersVariable.Instance; _interactionContainer = InteractionVariableContainer.Instance; if (_gazeParameters.UseGaze && _gazeParameters.UseDifferentStates) { _checkGazeStates = true; } SetupVRComponents(); }