Main/System/Debug/DebugUtility.cs
@@ -4,6 +4,7 @@ using LitJson; using System.IO; using UnityEngine.UI; using Cysharp.Threading.Tasks; public class DebugUtility : Singleton<DebugUtility> @@ -97,6 +98,17 @@ } } public async UniTask CreateDebugRootAsync() { if (debugRoot == null) { var prefab = await BuiltInLoader.LoadPrefabAsync("UIRootDebug"); debugRoot = GameObject.Instantiate(prefab); MonoBehaviour.DontDestroyOnLoad(debugRoot); debugRoot.name = "UIRootDebug"; } } public class DebugBranch {