void OnGUI() { CurConfigData.Namespace = EditorGUIUtils.GUILabelAndTextField ("Namespace", CurConfigData.Namespace); CurConfigData.UIScriptDir = EditorGUIUtils.GUILabelAndTextField ("UI Script Generate Dir", CurConfigData.UIScriptDir); CurConfigData.UIPrefabDir = EditorGUIUtils.GUILabelAndTextField ("UI Prefab Dir", CurConfigData.UIPrefabDir); if (GUILayout.Button ("Apply")) { CurConfigData.Save (); } }
void OnGUI() { CurConfigData.Namespace = EditorGUIUtils.GUILabelAndTextField("Namespace", CurConfigData.Namespace); #if NONE_LUA_SUPPORT CurConfigData.UIScriptDir = EditorGUIUtils.GUILabelAndTextField("UI Script Generate Dir", CurConfigData.UIScriptDir); CurConfigData.UIPrefabDir = EditorGUIUtils.GUILabelAndTextField("UI Prefab Dir", CurConfigData.UIPrefabDir); #endif CurConfigData.ResLoaderSupportIndex = EditorGUIUtils.GUILabelAndPopup("AB Support", CurConfigData.ResLoaderSupportIndex, QFrameworkConfigData.RES_LOADER_SUPPORT_TEXTS); CurConfigData.LuaSupportIndex = EditorGUIUtils.GUILabelAndPopup("Lua Support", CurConfigData.LuaSupportIndex, QFrameworkConfigData.LUA_SUPPORT_TEXTS); CurConfigData.CocosSupportIndex = EditorGUIUtils.GUILabelAndPopup("Cocos Support", CurConfigData.CocosSupportIndex, QFrameworkConfigData.COCOS_SUPPORT_TEXTS); if (GUILayout.Button("Apply")) { CurConfigData.Save(); MicroEditor.ApplyAllPlatform(); } }