Add startup delay

This commit is contained in:
Sinai
2021-04-11 20:45:02 +10:00
parent 9e4c335a05
commit a6c24f91e4
2 changed files with 23 additions and 3 deletions

View File

@ -24,6 +24,7 @@ namespace UnityExplorer.Core.Config
public static ConfigElement<string> Default_Output_Path;
public static ConfigElement<bool> Log_Unity_Debug;
public static ConfigElement<bool> Hide_On_Startup;
public static ConfigElement<float> Startup_Delay_Time;
public static ConfigElement<string> Last_Window_Anchors;
public static ConfigElement<string> Last_Window_Position;
@ -85,6 +86,10 @@ namespace UnityExplorer.Core.Config
"The default output path when exporting things from UnityExplorer.",
Path.Combine(ExplorerCore.Loader.ExplorerFolder, "Output"));
Startup_Delay_Time = new ConfigElement<float>("Startup Delay Time",
"The delay on startup before the UI is created.",
1f);
// Internal configs
Last_Window_Anchors = new ConfigElement<string>("Last_Window_Anchors",