yyl
2026-02-11 3f2cd27c5dfb3b450245bf1a37fc1b3414031c7c
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
    {