Cleanup CSConsole, add start of Options and Log panels

This commit is contained in:
Sinai
2021-05-13 03:55:08 +10:00
parent 70d66f93a5
commit 3e44317861
5 changed files with 108 additions and 35 deletions

View File

@ -39,10 +39,12 @@ namespace UnityExplorer.UI
// panels
internal static GameObject PanelHolder { get; private set; }
public static ObjectExplorerPanel Explorer { get; private set; }
public static InspectorPanel Inspector { get; private set; }
public static CSConsolePanel CSharpConsole { get; private set; }
public static OptionsPanel Options { get; private set; }
public static ConsoleLogPanel ConsoleLog { get; private set; }
public static AutoCompleteModal AutoCompleter { get; private set; }
@ -180,6 +182,12 @@ namespace UnityExplorer.UI
CSharpConsole.ConstructUI();
ConsoleController.Init();
Options = new OptionsPanel();
Options.ConstructUI();
ConsoleLog = new ConsoleLogPanel();
ConsoleLog.ConstructUI();
ShowMenu = !ConfigManager.Hide_On_Startup.Value;
ExplorerCore.Log("UI initialized.");