Add FreeCam panel

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

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);
}