private static void ToggleGroup(string name)
 {
     if (ToolData.contextSelectedStateDic.ContainsKey(name))
     {
         ToolData.ResetContextSelectedState();
         ToolData.contextSelectedStateDic[name] = true;
     }
 }
        private void Path()
        {
            GUILayout.Space(ToolData.lineSpace);
            GUILayout.Label("脚本路径", itemTitle);
            GUILayout.Space(ToolData.lineSpace);
            PathItem("View 层路径", ref ToolData.viewPath);
            PathItem("Service 层路径", ref ToolData.servicePath);
            PathItem("System 层路径", ref ToolData.systemPath);

            GUILayout.Space(ToolData.lineSpace);
            PathItem("ServiceManager路径", ref ToolData.serviceManagerPath);
            PathItem("GameFeature路径", ref ToolData.gameFeaturePath);
            PathItem("InputFeature路径", ref ToolData.inputFeaturePath);
            PathItem("ViewFeature路径", ref ToolData.viewFeaturePath);

            CreateButton("保存路径", () =>
            {
                ToolData.SaveDataToLocal();
            }
                         );
        }
 private static void Init()
 {
     ToolData.Init();
     InitGUIStyle();
 }