/// <summary> /// Get the ErrorMessage from the ErrorID /// </summary> /// <param name="errorID"></param> /// <param name="state"></param> private void GetLogData(int errorID, int state) { gazeModel.statusID = errorID; if (errorID > IDContainerIviewNG.ACTION_COMPLETE && errorID < 402) { Debug.LogError("Error by " + IDContainerIviewNG.getState(state) + ": " + IDContainerIviewNG.getErrorMessage(errorID)); } }
/// <summary> /// Get the ErrorMessage from the ErrorID /// </summary> /// <param name="errorID"></param> /// <param name="state"></param> private void GetLogData(int errorID, int state) { gazeModel.statusID = errorID; if (errorID > IDContainerIviewNG.ACTION_COMPLETE && errorID < 402) { SMIGazeController.Instance.EyetrackerSetupFailure(); Debug.LogError("Error by " + IDContainerIviewNG.getState(state) + ": " + IDContainerIviewNG.getErrorMessage(errorID)); } }