Update DebugConsole.cs

This commit is contained in:
Sinai 2021-03-31 02:02:12 +11:00
parent f280b45ed3
commit 89f137680e

View File

@ -220,8 +220,10 @@ namespace UnityExplorer.UI.Main
ConfigManager.Handler.SaveConfig();
});
ConfigManager.Log_Unity_Debug.OnValueChanged += (bool val) => { unityToggle.isOn = val; };
unityToggle.isOn = LogUnity;
unityToggleText.text = "Print Unity Debug?";
unityToggleText.text = "Log Unity Debug?";
unityToggleText.alignment = TextAnchor.MiddleLeft;
UIFactory.SetLayoutElement(unityToggleObj, minWidth: 170, flexibleWidth: 0);