Пример #1
0
 private void ApplySpecificGUI(MicrobeEditorTutorialGUI gui)
 {
     foreach (var tutorial in Tutorials)
     {
         tutorial.ApplyGUIState(gui);
     }
 }
Пример #2
0
        public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
        {
            gui.CellEditorUndoHighlight.TargetControl = ShownCurrently ? EditorUndoButtonControl : null;

            gui.CellEditorUndoVisible           = ShownCurrently;
            gui.CellEditorUndoHighlight.Visible = ShownCurrently;
        }
Пример #3
0
        public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
        {
            gui.AutoEvoPredictionVisible = ShownCurrently;

            gui.AutoEvoPredictionHighlight.TargetControl = ShownCurrently ? EditorAutoEvoPredictionPanel : null;
            gui.AutoEvoPredictionHighlight.Visible       = ShownCurrently;
        }
Пример #4
0
        public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
        {
            if (gui.AutoEvoPredictionHighlight == null)
            {
                throw new InvalidOperationException($"{nameof(gui.AutoEvoPredictionHighlight)} has not been set");
            }

            gui.AutoEvoPredictionVisible = ShownCurrently;

            gui.AutoEvoPredictionHighlight.TargetControl = ShownCurrently ? EditorAutoEvoPredictionPanel : null;
            gui.AutoEvoPredictionHighlight.Visible       = ShownCurrently;
        }
Пример #5
0
        public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
        {
            if (gui.CellEditorUndoHighlight == null)
            {
                throw new InvalidOperationException($"{nameof(gui.CellEditorUndoHighlight)} has not been set");
            }

            gui.CellEditorUndoHighlight.TargetControl = ShownCurrently ? EditorUndoButtonControl : null;

            gui.CellEditorUndoVisible           = ShownCurrently;
            gui.CellEditorUndoHighlight.Visible = ShownCurrently;
        }
Пример #6
0
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.PatchMapVisible = ShownCurrently;
 }
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.CellEditorIntroductionVisible = ShownCurrently;
 }
Пример #8
0
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.EditorEntryReportVisible = ShownCurrently;
 }
Пример #9
0
 public virtual void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     DefaultGUIStateHandle();
 }
Пример #10
0
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.CellEditorClosingWordsVisible = ShownCurrently;
 }
Пример #11
0
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.StaySmallTutorialVisible = ShownCurrently;
 }