Add FreeCam panel

This commit is contained in:
Sinai committed 2022-04-18 21:39:17 +10:00
1 parent c5e262d1c3
commit 469484d129
3 files changed
+276 -6

No files matched your search

+3
View File
@@ -48,6 +48,9 @@ namespace UnityExplorer.Config
TomlDocument document = TomlParser.ParseFile(CONFIG_PATH);
foreach (string key in document.Keys)
{
if (!Enum.IsDefined(typeof(UIManager.Panels), key))
continue;
UIManager.Panels panelKey = (UIManager.Panels)Enum.Parse(typeof(UIManager.Panels), key);
ConfigManager.GetPanelSaveData(panelKey).Value = document.GetString(key);
}