mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-09-20 13:36:01 +08:00
Update DebugConsole.cs
This commit is contained in:
@ -220,8 +220,10 @@ namespace UnityExplorer.UI.Main
|
|||||||
ConfigManager.Handler.SaveConfig();
|
ConfigManager.Handler.SaveConfig();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
ConfigManager.Log_Unity_Debug.OnValueChanged += (bool val) => { unityToggle.isOn = val; };
|
||||||
|
|
||||||
unityToggle.isOn = LogUnity;
|
unityToggle.isOn = LogUnity;
|
||||||
unityToggleText.text = "Print Unity Debug?";
|
unityToggleText.text = "Log Unity Debug?";
|
||||||
unityToggleText.alignment = TextAnchor.MiddleLeft;
|
unityToggleText.alignment = TextAnchor.MiddleLeft;
|
||||||
|
|
||||||
UIFactory.SetLayoutElement(unityToggleObj, minWidth: 170, flexibleWidth: 0);
|
UIFactory.SetLayoutElement(unityToggleObj, minWidth: 170, flexibleWidth: 0);
|
||||||
|
Reference in New Issue
Block a user