public void SetCourseAttemptType(CourseAttemptType type) { if (TrialState == TrialState.WaitingForCourseAttemptType) { Type = type; TrialState = TrialState.NotStarted; } }
private void SetViewMode(CourseAttemptType attemptType) { var enableVR = attemptType == CourseAttemptType.OculusRift3D; Debug.Log(enableVR ? "Enabling VR." : "Disabling VR."); VRSettings.enabled = enableVR; }