Esempio n. 1
0
 public void SetCourseAttemptType(CourseAttemptType type)
 {
     if (TrialState == TrialState.WaitingForCourseAttemptType)
     {
         Type = type;
         TrialState = TrialState.NotStarted;
     }
 }
Esempio n. 2
0
    private void SetViewMode(CourseAttemptType attemptType)
    {
        var enableVR = attemptType == CourseAttemptType.OculusRift3D;

        Debug.Log(enableVR ? "Enabling VR." : "Disabling VR.");

        VRSettings.enabled = enableVR;
    }