Example #1
0
 public override void DoGUI()
 {
     if (this.updateEventList)
     {
         this.BuildFilteredList();
         this.updateEventList = false;
     }
     if (EditorApplication.get_isPlaying() && FsmEditorSettings.DisableEventBrowserWhenPlaying)
     {
         GUILayout.Label(Strings.get_EventsWindow_Disabled_When_Playing(), new GUILayoutOption[0]);
         FsmEditorSettings.DisableEventBrowserWhenPlaying = !GUILayout.Toggle(!FsmEditorSettings.DisableEventBrowserWhenPlaying, Strings.get_EventsWindow_Enable_When_Playing(), new GUILayoutOption[0]);
         if (GUI.get_changed())
         {
             FsmEditorSettings.SaveSettings();
         }
         return;
     }
     this.DoToolbar();
     this.DoTableHeaders();
     this.DoEventTable();
     if (Event.get_current().get_type() == 16)
     {
         GlobalEventsWindow.GenerateEventManagerMenu().ShowAsContext();
     }
     this.DoBottomPanel();
     if (Event.get_current().get_type() == 1 && Event.get_current().get_button() == 0 && GUIUtility.get_hotControl() == 0)
     {
         GUIUtility.set_keyboardControl(0);
     }
     if (Event.get_current().get_type() == null && GUIUtility.get_keyboardControl() == 0)
     {
         this.selectedEvent = null;
         base.Repaint();
     }
 }
 private void ToggleHideObsoleteActions()
 {
     FsmEditorSettings.HideObsoleteActions = !FsmEditorSettings.HideObsoleteActions;
     FsmEditorSettings.SaveSettings();
     Actions.BuildList();
     this.FilterActionList();
     base.Repaint();
 }
 private static void DoDisabledGUI()
 {
     GUILayout.Label(Strings.get_Label_Logging_is_disabled_in_Preferences(), new GUILayoutOption[0]);
     if (GUILayout.Button(Strings.get_Action_Enable_Logging(), new GUILayoutOption[0]))
     {
         FsmEditorSettings.EnableLogging = true;
         FsmEditorSettings.SaveSettings();
     }
 }
 private static void DoFsmSelectorGUI()
 {
     SkillEditorContent.MainToolbarSelectedGO.set_text((SkillEditor.SelectedFsmGameObject == null) ? Strings.get_Label_None() : SkillEditor.SelectedFsmGameObject.get_name());
     SkillEditorContent.MainToolbarSelectedGO.set_tooltip(Strings.get_Hint_Select_Game_Object());
     EditorGUI.BeginDisabledGroup(!SkillEditor.SelectionHistory.CanMoveBack());
     if (GUILayout.Button(SkillEditorContent.BackButton, EditorStyles.get_toolbarButton(), new GUILayoutOption[0]))
     {
         SkillEditor.SelectFsm(SkillEditor.SelectionHistory.MoveBack());
     }
     EditorGUI.EndDisabledGroup();
     EditorGUI.BeginDisabledGroup(!SkillEditor.SelectionHistory.CanMoveForward());
     if (GUILayout.Button(SkillEditorContent.ForwardButton, EditorStyles.get_toolbarButton(), new GUILayoutOption[0]))
     {
         SkillEditor.SelectFsm(SkillEditor.SelectionHistory.MoveForward());
     }
     EditorGUI.EndDisabledGroup();
     EditorGUI.BeginDisabledGroup(SkillEditor.SelectionHistory.RecentlySelectedCount <= 0);
     if (GUILayout.Button(SkillEditorContent.RecentButton, EditorStyles.get_toolbarButton(), new GUILayoutOption[0]))
     {
         GenericMenu  genericMenu          = new GenericMenu();
         List <Skill> recentlySelectedFSMs = SkillEditor.SelectionHistory.GetRecentlySelectedFSMs();
         using (List <Skill> .Enumerator enumerator = recentlySelectedFSMs.GetEnumerator())
         {
             while (enumerator.MoveNext())
             {
                 Skill current = enumerator.get_Current();
                 genericMenu.AddItem(new GUIContent(Labels.GetFullFsmLabel(current)), current == SkillEditor.SelectedFsm, new GenericMenu.MenuFunction2(SkillEditor.SelectFsm), current);
             }
         }
         genericMenu.ShowAsContext();
         return;
     }
     EditorGUI.EndDisabledGroup();
     if (GUILayout.Button(SkillEditorContent.MainToolbarSelectedGO, EditorStyles.get_toolbarDropDown(), new GUILayoutOption[]
     {
         GUILayout.MinWidth(100f)
     }))
     {
         SkillEditorGUILayout.GenerateFsmGameObjectSelectionMenu(true).ShowAsContext();
     }
     SkillEditorContent.MainToolbarSelectedFSM.set_text((SkillEditor.SelectedFsm == null) ? "" : SkillEditor.SelectedFsm.get_Name());
     SkillEditorContent.MainToolbarSelectedFSM.set_tooltip(Strings.get_Tooltip_Select_FSM());
     if (GUILayout.Button(SkillEditorContent.MainToolbarSelectedFSM, EditorStyles.get_toolbarDropDown(), new GUILayoutOption[]
     {
         GUILayout.MinWidth(100f)
     }))
     {
         SkillEditorGUILayout.GenerateGameObjectFsmSelectionMenu().ShowAsContext();
     }
     FsmEditorSettings.LockGraphView = GUILayout.Toggle(FsmEditorSettings.LockGraphView, SkillEditorContent.MainToolbarLock, EditorStyles.get_toolbarButton(), new GUILayoutOption[0]);
     if (GUI.get_changed())
     {
         FsmEditorSettings.SaveSettings();
     }
 }
Example #5
0
 private void DoToolbar()
 {
     GUILayout.BeginHorizontal(EditorStyles.get_toolbar(), new GUILayoutOption[0]);
     FsmEditorSettings.ConsoleActionReportSortOptionIndex = EditorGUILayout.Popup(FsmEditorSettings.ConsoleActionReportSortOptionIndex, this.sortOptions, EditorStyles.get_toolbarPopup(), new GUILayoutOption[0]);
     if (GUI.get_changed())
     {
         FsmEditorSettings.SaveSettings();
     }
     GUILayout.FlexibleSpace();
     GUILayout.EndHorizontal();
 }
 private void CloseCategory(int i)
 {
     if (FsmEditorSettings.SelectedActionCategory != i)
     {
         return;
     }
     FsmEditorSettings.SelectedActionCategory = -1;
     FsmEditorSettings.SaveSettings();
     this.selectedAction = null;
     base.Repaint();
 }
Example #7
0
        private void DoSettingsChanged(string setting)
        {
            switch (setting)
            {
            case "ShowFullFsmInspector":
                FsmEditorSettings.ShowFullFsmInspector = !FsmEditorSettings.ShowFullFsmInspector;
                break;
            }

            FsmEditorSettings.SaveSettings();
        }
 private void UpdateSearchResults()
 {
     this.searchString = this.searchBox.SearchString;
     if (!string.IsNullOrEmpty(this.searchString))
     {
         this.FilterActionList();
         this.SelectFirstMatchingAction();
         return;
     }
     FsmEditorSettings.SelectedActionCategory = Actions.GetCategoryIndex(this.selectedActionCategory);
     FsmEditorSettings.SaveSettings();
     this.autoScroll = true;
 }
 public static bool DoEditorDisabledGUI()
 {
     if (EditorApplication.get_isPlaying() && FsmEditorSettings.DisableEditorWhenPlaying)
     {
         GUILayout.Label(Strings.get_Label_Editor_disabled_when_playing(), new GUILayoutOption[0]);
         FsmEditorSettings.DisableEditorWhenPlaying = !GUILayout.Toggle(!FsmEditorSettings.DisableEditorWhenPlaying, Strings.get_Label_Enable_Editor_When_Playing(), new GUILayoutOption[0]);
         if (GUI.get_changed())
         {
             FsmEditorSettings.SaveSettings();
         }
         return(FsmEditorSettings.DisableEditorWhenPlaying);
     }
     return(false);
 }
 private void SelectAction(Type actionType, string category)
 {
     this.autoScroll = true;
     base.Repaint();
     if (actionType == this.selectedAction && category == this.selectedActionCategory)
     {
         return;
     }
     this.selectedAction         = actionType;
     this.selectedActionCategory = category;
     this.previewAction          = (SkillStateAction)Activator.CreateInstance(actionType);
     this.previewAction.Reset();
     FsmEditorSettings.SelectedActionCategory = Actions.GetCategoryIndex(category);
     FsmEditorSettings.SaveSettings();
 }
        private void DoBottomPanel()
        {
            SkillEditorGUILayout.Divider(new GUILayoutOption[0]);
            if (this.selectedAction != null)
            {
                GUILayout.BeginHorizontal(new GUILayoutOption[0]);
                GUILayout.Label(Labels.GetActionLabel(this.selectedAction), SkillEditorStyles.ActionPreviewTitle, new GUILayoutOption[]
                {
                    GUILayout.MaxWidth(base.get_position().get_width() - 30f)
                });
                GUILayout.FlexibleSpace();
                if (SkillEditorGUILayout.HelpButton("Online Help"))
                {
                    EditorCommands.OpenWikiPage(this.previewAction);
                }
                GUILayout.EndHorizontal();
                string tooltip = Actions.GetTooltip(this.selectedAction);
                GUILayout.Box(tooltip, SkillEditorStyles.LabelWithWordWrap, new GUILayoutOption[0]);
                if (Event.get_current().get_type() == 7)
                {
                    this.descriptionHeight = GUILayoutUtility.GetLastRect().get_height();
                }
                ActionEditor.PreviewMode = true;
                EditorGUILayout.Space();
                SkillEditorGUILayout.Divider(new GUILayoutOption[0]);
                if (FsmEditorSettings.ShowActionPreview)
                {
                    this.DoSelectedActionPreview();
                }
                ActionEditor.PreviewMode = false;
            }
            GUILayout.BeginHorizontal(new GUILayoutOption[0]);
            bool flag = GUILayout.Toggle(FsmEditorSettings.ShowActionPreview, Strings.get_ActionSelector_Preview(), new GUILayoutOption[0]);

            if (flag != FsmEditorSettings.ShowActionPreview)
            {
                FsmEditorSettings.ShowActionPreview = flag;
                FsmEditorSettings.SaveSettings();
            }
            EditorGUI.BeginDisabledGroup(SkillEditor.SelectedState == null || this.selectedAction == null || FsmGraphView.EditingDisable);
            if (GUILayout.Button(new GUIContent(Strings.get_ActionSelector_Add_Action_To_State(), Strings.get_ActionSelector_Add_Action_To_State_Tooltip()), new GUILayoutOption[0]))
            {
                this.AddSelectedActionToState();
            }
            EditorGUI.EndDisabledGroup();
            GUILayout.EndHorizontal();
            EditorGUILayout.Space();
        }
        private void OpenCategory(int i)
        {
            if (FsmEditorSettings.SelectedActionCategory == i)
            {
                return;
            }
            FsmEditorSettings.SelectedActionCategory = i;
            string      text = Actions.Categories.get_Item(i);
            List <Type> actionsInCategory = Actions.GetActionsInCategory(text);

            if (actionsInCategory.get_Count() > 0)
            {
                this.SelectAction(actionsInCategory.get_Item(0), text);
            }
            FsmEditorSettings.SaveSettings();
            base.Repaint();
        }
 private static bool DoToolWindowsDisabledGUI()
 {
     if (SkillEditorGUILayout.DoEditorDisabledGUI())
     {
         return(true);
     }
     if (EditorApplication.get_isPlaying() && FsmEditorSettings.DisableToolWindowsWhenPlaying)
     {
         GUILayout.Label(Strings.get_Label_Tool_Windows_disabled_when_playing(), new GUILayoutOption[0]);
         FsmEditorSettings.DisableToolWindowsWhenPlaying = !GUILayout.Toggle(!FsmEditorSettings.DisableToolWindowsWhenPlaying, Strings.get_Label_Enable_Tool_Windows_When_Playing(), new GUILayoutOption[0]);
         if (GUI.get_changed())
         {
             FsmEditorSettings.SaveSettings();
         }
         return(FsmEditorSettings.DisableToolWindowsWhenPlaying);
     }
     return(false);
 }
 public override void DoGUI()
 {
     if (EditorApplication.get_isPlaying() && FsmEditorSettings.DisableActionBrowerWhenPlaying)
     {
         GUILayout.Label(Strings.get_ActionSelector_Disabled_when_playing(), new GUILayoutOption[0]);
         FsmEditorSettings.DisableActionBrowerWhenPlaying = !GUILayout.Toggle(!FsmEditorSettings.DisableActionBrowerWhenPlaying, Strings.get_ActionSelector_Enable_Action_Browser_When_Playing(), new GUILayoutOption[0]);
         if (GUI.get_changed())
         {
             FsmEditorSettings.SaveSettings();
         }
         return;
     }
     this.HandleKeyboardInput();
     this.DoMainToolbar();
     this.DoActionList();
     this.HandleDragAndDrop();
     this.DoBottomPanel();
 }
Example #15
0
        public void OnGUI()
        {
            float num = SkillEditor.Window.get_position().get_width() - 350f;

            EditorGUILayout.BeginHorizontal(EditorStyles.get_toolbar(), new GUILayoutOption[]
            {
                GUILayout.Width(num)
            });
            MainToolbar.DoFsmSelectorGUI();
            MainToolbar.DoPrefabTypeGUI();
            GUILayout.FlexibleSpace();
            bool flag = GUILayout.Toggle(FsmEditorSettings.GraphViewShowMinimap, SkillEditorContent.MainToolbarShowMinimap, EditorStyles.get_toolbarButton(), new GUILayoutOption[0]);

            if (flag != FsmEditorSettings.GraphViewShowMinimap)
            {
                FsmEditorSettings.GraphViewShowMinimap = flag;
                FsmEditorSettings.SaveSettings();
            }
            EditorGUILayout.EndHorizontal();
        }
        private void DoBottomToolbar()
        {
            GUILayout.BeginHorizontal(EditorStyles.get_toolbar(), new GUILayoutOption[0]);
            bool flag = GUILayout.Toggle(FsmEditorSettings.ShowHints, Strings.get_Command_Toggle_Hints(), EditorStyles.get_toolbarButton(), new GUILayoutOption[]
            {
                GUILayout.MaxWidth(100f)
            });

            if (flag != FsmEditorSettings.ShowHints)
            {
                FsmEditorSettings.ShowHints = flag;
                FsmEditorSettings.SaveSettings();
                SkillEditor.RepaintAll();
            }
            if (GUILayout.Button(Strings.get_Command_Preferences(), EditorStyles.get_toolbarButton(), new GUILayoutOption[]
            {
                GUILayout.MinWidth(150f)
            }))
            {
                this.inspectorMode = InspectorMode.Preferences;
            }
            GUILayout.EndHorizontal();
        }
 private static void ToggleCloseActionBrowser()
 {
     FsmEditorSettings.CloseActionBrowserOnEnter = !FsmEditorSettings.CloseActionBrowserOnEnter;
     FsmEditorSettings.SaveSettings();
 }
Example #18
0
 private static void ToggleShowExit()
 {
     FsmEditorSettings.LogShowExit = !FsmEditorSettings.LogShowExit;
     FsmEditorSettings.SaveSettings();
     SkillLogger.instance.ResetLayout();
 }
Example #19
0
 private static void ToggleShowTimecode()
 {
     FsmEditorSettings.LogShowTimecode = !FsmEditorSettings.LogShowTimecode;
     FsmEditorSettings.SaveSettings();
 }
        public void OnGUI(Rect area)
        {
            EditorGUI.set_indentLevel(0);
            GUILayout.BeginArea(area);
            if (EditorApplication.get_isPlaying() && FsmEditorSettings.DisableInspectorWhenPlaying)
            {
                GUILayout.BeginHorizontal(EditorStyles.get_toolbar(), new GUILayoutOption[0]);
                GUILayout.FlexibleSpace();
                GUILayout.EndHorizontal();
                GUILayout.Label(Strings.get_Hint_Inspector_disabled_when_playing(), new GUILayoutOption[0]);
                FsmEditorSettings.DisableInspectorWhenPlaying = !GUILayout.Toggle(!FsmEditorSettings.DisableInspectorWhenPlaying, Strings.get_Hint_Enable_inspector_when_playing(), new GUILayoutOption[0]);
                if (GUI.get_changed())
                {
                    FsmEditorSettings.SaveSettings();
                }
                GUILayout.EndArea();
                return;
            }
            this.View = area;
            SkillEditorGUILayout.LabelWidth(150f);
            GUILayout.BeginVertical(new GUILayoutOption[0]);
            this.DoModeSelector();
            if (this.inspectorMode != InspectorMode.FsmInspector && this.inspectorMode != InspectorMode.Preferences && !Application.get_isPlaying() && SkillEditor.SelectedFsmUsesTemplate)
            {
                GUILayout.Label(Strings.get_Label_FSM_Uses_Template(), new GUILayoutOption[0]);
                if (FsmEditorSettings.ShowHints)
                {
                    GUILayout.Box(Strings.get_InspectorPanel_FSM_Uses_Template(), SkillEditorStyles.HintBox, new GUILayoutOption[0]);
                }
                GUILayout.FlexibleSpace();
            }
            else
            {
                if (this.inspectorMode != InspectorMode.Preferences)
                {
                    SkillEditorGUILayout.UnlockFsmGUI(SkillEditor.SelectedFsm);
                    EditorGUI.BeginDisabledGroup(SkillEditor.SelectedFsm != null && SkillEditor.SelectedFsm.get_Locked());
                }
                switch (this.inspectorMode)
                {
                case InspectorMode.FsmInspector:
                    FsmInspector.OnGUI();
                    break;

                case InspectorMode.StateInspector:
                    if (!SkillEditor.SelectedFsmIsLocked)
                    {
                        InspectorPanel.BeginPrefabInstanceCheck();
                        SkillEditor.StateInspector.OnGUI();
                        InspectorPanel.EndPrefabInstanceCheck();
                    }
                    else
                    {
                        GUILayout.FlexibleSpace();
                    }
                    break;

                case InspectorMode.EventManager:
                    if (!SkillEditor.SelectedFsmIsLocked)
                    {
                        InspectorPanel.BeginPrefabInstanceCheck();
                        SkillEditor.EventManager.OnGUI();
                        InspectorPanel.EndPrefabInstanceCheck();
                    }
                    else
                    {
                        GUILayout.FlexibleSpace();
                    }
                    break;

                case InspectorMode.VariableManager:
                    if (!SkillEditor.SelectedFsmIsLocked)
                    {
                        InspectorPanel.BeginPrefabInstanceCheck();
                        SkillEditor.VariableManager.OnGUI();
                        InspectorPanel.EndPrefabInstanceCheck();
                    }
                    else
                    {
                        GUILayout.FlexibleSpace();
                    }
                    break;

                case InspectorMode.Preferences:
                    FsmEditorSettings.OnGUI();
                    break;

                case InspectorMode.Watermarks:
                    WatermarkSelector.OnGUI();
                    break;
                }
                if (this.inspectorMode != InspectorMode.Preferences)
                {
                    EditorGUI.EndDisabledGroup();
                }
            }
            this.DoBottomToolbar();
            GUILayout.EndVertical();
            GUILayout.EndArea();
        }
Example #21
0
    public override void OnInspectorGUI()
    {
#if UNITY_3_5 || UNITY_4_0 || UNITY_4_0_1 || UNITY_4_2
        EditorGUIUtility.LookLikeInspector();
#else
        EditorGUIUtility.labelWidth = 210;
#endif
        GUILayout.Label(Strings.Label_NOTES, EditorStyles.boldLabel);
        GUILayout.Label(Strings.Hint_PlayMakerGUI_Notes);
        GUILayout.Label(Strings.Label_General, EditorStyles.boldLabel);

        EditorGUI.indentLevel = 1;

        guiComponent.enableGUILayout = EditorGUILayout.Toggle(new GUIContent(Strings.Label_Enable_GUILayout,
                                                                             Strings.Tooltip_Enable_GUILayout),
                                                              guiComponent.enableGUILayout);
        guiComponent.controlMouseCursor = EditorGUILayout.Toggle(new GUIContent(Strings.Label_Control_Mouse_Cursor,
                                                                                Strings.Tooltip_Control_Mouse_Cursor),
                                                                 guiComponent.controlMouseCursor);

        guiComponent.previewOnGUI = EditorGUILayout.Toggle(new GUIContent(Strings.Label_Preview_GUI_Actions_While_Editing, Strings.Tooltip_Preview_GUI_Actions_While_Editing), guiComponent.previewOnGUI);

        EditorGUI.indentLevel = 0;
        GUILayout.Label(Strings.Label_Debugging, EditorStyles.boldLabel);
        EditorGUI.indentLevel = 1;

        var drawStateLabels = EditorGUILayout.Toggle(new GUIContent(Strings.Label_Draw_Active_State_Labels, Strings.Tooltip_Draw_Active_State_Labels), guiComponent.drawStateLabels);
        if (drawStateLabels != guiComponent.drawStateLabels)
        {
            guiComponent.drawStateLabels = drawStateLabels;
            FsmEditorSettings.ShowStateLabelsInGameView = drawStateLabels;
            FsmEditorSettings.SaveSettings();
        }

        GUI.enabled = guiComponent.drawStateLabels;
        //EditorGUI.indentLevel = 2;

        var enableStateLabelsInBuilds = EditorGUILayout.Toggle(new GUIContent(Strings.Label_Enable_State_Labels_in_Builds, Strings.Tooltip_Show_State_Labels_in_Standalone_Builds), guiComponent.enableStateLabelsInBuilds);
        if (enableStateLabelsInBuilds != guiComponent.enableStateLabelsInBuilds)
        {
            guiComponent.enableStateLabelsInBuilds   = enableStateLabelsInBuilds;
            FsmEditorSettings.ShowStateLabelsInBuild = enableStateLabelsInBuilds;
            FsmEditorSettings.SaveSettings();
        }

        guiComponent.GUITextureStateLabels = EditorGUILayout.Toggle(new GUIContent(Strings.Label_GUITexture_State_Labels, Strings.Tooltip_GUITexture_State_Labels), guiComponent.GUITextureStateLabels);
        guiComponent.GUITextStateLabels    = EditorGUILayout.Toggle(new GUIContent(Strings.Label_GUIText_State_Labels, Strings.Tooltip_GUIText_State_Labels), guiComponent.GUITextStateLabels);

        GUI.enabled = true;
        //EditorGUI.indentLevel = 1;

        guiComponent.filterLabelsWithDistance = EditorGUILayout.Toggle(new GUIContent(Strings.Label_Filter_State_Labels_With_Distance, Strings.Tooltip_Filter_State_Labels_With_Distance), guiComponent.filterLabelsWithDistance);

        GUI.enabled = guiComponent.filterLabelsWithDistance;

        guiComponent.maxLabelDistance = EditorGUILayout.FloatField(new GUIContent(Strings.Label_Camera_Distance, Strings.Tooltip_Camera_Distance), guiComponent.maxLabelDistance);

        GUI.enabled = true;

        guiComponent.labelScale = EditorGUILayout.FloatField(new GUIContent(Strings.Label_State_Label_Scale, Strings.Tooltip_State_Label_Scale), guiComponent.labelScale);
        if (guiComponent.labelScale < 0.1f)
        {
            guiComponent.labelScale = 0.1f;
        }
        if (guiComponent.labelScale > 10f)
        {
            guiComponent.labelScale = 10f;
        }

        if (GUI.changed)
        {
            CheckForDuplicateComponents();
        }
    }
Example #22
0
 private static void ToggleDisableWindow()
 {
     FsmEditorSettings.DisableEventBrowserWhenPlaying = !FsmEditorSettings.DisableEventBrowserWhenPlaying;
     FsmEditorSettings.SaveSettings();
 }
 private static void ToggleDisableWhenPlayingSetting()
 {
     FsmEditorSettings.DisableActionBrowerWhenPlaying = !FsmEditorSettings.DisableActionBrowerWhenPlaying;
     FsmEditorSettings.SaveSettings();
 }
 private static void ToggleAutoRefreshActionUsage()
 {
     FsmEditorSettings.AutoRefreshActionUsage = !FsmEditorSettings.AutoRefreshActionUsage;
     FsmEditorSettings.SaveSettings();
 }
Example #25
0
 private static void ToggleShowStateLoopCounts()
 {
     FsmEditorSettings.ShowStateLoopCounts = !FsmEditorSettings.ShowStateLoopCounts;
     FsmEditorSettings.SaveSettings();
 }
 private void ToggleShowActionPreview()
 {
     FsmEditorSettings.ShowActionPreview = !FsmEditorSettings.ShowActionPreview;
     FsmEditorSettings.SaveSettings();
     base.Repaint();
 }
 private static void SetRecentSize(object userdata)
 {
     FsmEditorSettings.ActionBrowserRecentSize = (int)userdata;
     FsmEditorSettings.SaveSettings();
     ActionSelector.EnforceRecentCategorySize();
 }
Example #28
0
 private static void ToggleEnableBreakpoints()
 {
     FsmEditorSettings.BreakpointsEnabled = !FsmEditorSettings.BreakpointsEnabled;
     Skill.set_BreakpointsEnabled(FsmEditorSettings.BreakpointsEnabled);
     FsmEditorSettings.SaveSettings();
 }
Example #29
0
 private static void ToggleShowStateLabels()
 {
     FsmEditorSettings.ShowStateLabelsInGameView = !FsmEditorSettings.ShowStateLabelsInGameView;
     FsmEditorSettings.SaveSettings();
 }
Example #30
0
 private static void SaveStepMode()
 {
     FsmEditorSettings.DebuggerStepMode = FsmDebugger.Instance.StepMode;
     FsmEditorSettings.SaveSettings();
 }