/// <summary> /// Mono Behaviour Update Function: /// Start the Coroutine if, the System must start a Validation/Calibration /// </summary> void Update() { #if UNITY_EDITOR || UNITY_STANDALONE_WIN if (GetIsStartingOver()) { StartCalibrationRoutine(ET_Device.getAcessToGazeModel().calibrationMethod); StartValidationRoutine(); ManagePlayerInput(); if (firstTime) { DoCalibrationProcedure(); firstTime = false; } } if (waitingInput && Input.GetKeyDown(KeyCode.Tab)) { DoCalibrationProcedure(); } else if (waitingInput && Input.GetKeyDown(KeyCode.X)) { waitingInput = false; isDoingCalibration = false; } #else Debug.LogError("You need Windows as operating system."); #endif }
/// <summary> /// Mono Behaviour Update Function: /// Start the Coroutine if, the System must start a Validation/Calibration /// </summary> void Update() { #if UNITY_EDITOR || UNITY_STANDALONE_WIN if (GetIsStartingOver()) { StartCalibrationRoutine(ET_Device.getAcessToGazeModel().calibrationMethod); StartValidationRoutine(); ManagePlayerInput(); } #else Debug.LogError("You need Windows as operating system."); #endif }