private void ApplySpecificGUI(MicrobeEditorTutorialGUI gui) { foreach (var tutorial in Tutorials) { tutorial.ApplyGUIState(gui); } }
public override void ApplyGUIState(MicrobeEditorTutorialGUI gui) { gui.CellEditorUndoHighlight.TargetControl = ShownCurrently ? EditorUndoButtonControl : null; gui.CellEditorUndoVisible = ShownCurrently; gui.CellEditorUndoHighlight.Visible = ShownCurrently; }
public override void ApplyGUIState(MicrobeEditorTutorialGUI gui) { gui.AutoEvoPredictionVisible = ShownCurrently; gui.AutoEvoPredictionHighlight.TargetControl = ShownCurrently ? EditorAutoEvoPredictionPanel : null; gui.AutoEvoPredictionHighlight.Visible = ShownCurrently; }
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; }
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; }
public override void ApplyGUIState(MicrobeEditorTutorialGUI gui) { gui.PatchMapVisible = ShownCurrently; }
public override void ApplyGUIState(MicrobeEditorTutorialGUI gui) { gui.CellEditorIntroductionVisible = ShownCurrently; }
public override void ApplyGUIState(MicrobeEditorTutorialGUI gui) { gui.EditorEntryReportVisible = ShownCurrently; }
public virtual void ApplyGUIState(MicrobeEditorTutorialGUI gui) { DefaultGUIStateHandle(); }
public override void ApplyGUIState(MicrobeEditorTutorialGUI gui) { gui.CellEditorClosingWordsVisible = ShownCurrently; }
public override void ApplyGUIState(MicrobeEditorTutorialGUI gui) { gui.StaySmallTutorialVisible = ShownCurrently; }