Ejemplo n.º 1
0
 /// <inheritdoc/>
 public void HandleProjectIsGoingToSave()
 {
     if (CurrentCourse != null)
     {
         CourseAssetManager.Save(CurrentCourse);
     }
 }
Ejemplo n.º 2
0
        /// <inheritdoc/>
        public void HandleStepWindowClosed(StepWindow window)
        {
            if (CurrentCourse != null)
            {
                CourseAssetManager.Save(CurrentCourse);
            }

            stepWindow = null;
        }
Ejemplo n.º 3
0
        /// <inheritdoc/>
        public void HandleCurrentCourseChanged(string courseName)
        {
            if (CurrentCourse != null)
            {
                CourseAssetManager.Save(CurrentCourse);
            }

            EditorPrefs.SetString(GlobalEditorHandler.LastEditedCourseNameKey, courseName);
            LoadCourse(CourseAssetManager.Load(courseName));
        }
Ejemplo n.º 4
0
        /// <inheritdoc/>
        public void HandleCourseWindowClosed(CourseWindow window)
        {
            if (courseWindow != window)
            {
                return;
            }

            if (CurrentCourse != null)
            {
                CourseAssetManager.Save(CurrentCourse);
            }
        }