private static void CreateViews() { if (thisWindow == null) { GetCurrentWindow(); } thisWindow.settings = MA_TextureAtlasserProUtils.LoadSettings(); MA_TextureAtlasserProGuiLoader.LoadEditorGui(thisWindow.settings); thisWindow.workView = new MA_TextureAtlasserProWorkView(thisWindow, "workView"); thisWindow.menuView = new MA_TextureAtlasserProMenuView(thisWindow, "menuView"); thisWindow.inspectorView = new MA_TextureAtlasserProInspectorView(thisWindow, "inspectorView"); thisWindow.debugView = new MA_TextureAtlasserProDebugView(thisWindow, "debugView"); }
public override void OnInspectorGUI() { GUILayout.BeginVertical(); DrawDefaultInspector(); GUILayout.Space(15); if (GUILayout.Button(reloadButton, GUILayout.Height(40), GUILayout.ExpandWidth(true))) { //Update necessary systems. MA_TextureAtlasserProGuiLoader.LoadEditorGui((MA_TextureAtlasserProSettings)this.target); } GUILayout.EndVertical(); }