mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Settings / SettingsWindow
This commit is contained in:
@@ -40,6 +40,8 @@ namespace GlitchyEngine
|
||||
[Inline]
|
||||
public static Application Get() => s_Instance;
|
||||
|
||||
public Settings Settings {get; private set;} = new .() ~ delete _;
|
||||
|
||||
public this()
|
||||
{
|
||||
Profiler.ProfileFunction!();
|
||||
@@ -70,6 +72,9 @@ namespace GlitchyEngine
|
||||
_imGuiLayer = new ImGuiLayer();
|
||||
PushOverlay(_imGuiLayer);
|
||||
#endif
|
||||
|
||||
GlitchyEngine.Settings.Load();
|
||||
Settings.Apply();
|
||||
}
|
||||
|
||||
public ~this()
|
||||
|
||||
Reference in New Issue
Block a user