Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 89f1376

Browse files
committed
Update DebugConsole.cs
1 parent f280b45 commit 89f1376

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/UI/Main/DebugConsole.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,10 @@ public void ConstructUI(GameObject parent)
220220
ConfigManager.Handler.SaveConfig();
221221
});
222222

223+
ConfigManager.Log_Unity_Debug.OnValueChanged += (bool val) => { unityToggle.isOn = val; };
224+
223225
unityToggle.isOn = LogUnity;
224-
unityToggleText.text = "Print Unity Debug?";
226+
unityToggleText.text = "Log Unity Debug?";
225227
unityToggleText.alignment = TextAnchor.MiddleLeft;
226228

227229
UIFactory.SetLayoutElement(unityToggleObj, minWidth: 170, flexibleWidth: 0);

0 commit comments

Comments
 (0)