From bc1cb6da854cb2e9144f10ed55330a537ecdca16 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 04 三月 2026 14:35:57 +0800
Subject: [PATCH] 466 h5版本 资源规则修改 打包修改(未完成 勿拉取)

---
 Main/System/Debug/DebugUtility.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Main/System/Debug/DebugUtility.cs b/Main/System/Debug/DebugUtility.cs
index 33953f7..6fc4385 100644
--- a/Main/System/Debug/DebugUtility.cs
+++ b/Main/System/Debug/DebugUtility.cs
@@ -87,11 +87,11 @@
     }
 
 
-    public void CreateDebugRoot()
+    public async UniTask CreateDebugRoot()
     {
         if (debugRoot == null)
         {
-            var prefab = BuiltInLoader.LoadPrefab("UIRootDebug");
+            var prefab = await BuiltInLoader.LoadPrefabAsync("UIRootDebug");
             debugRoot = GameObject.Instantiate(prefab);
             MonoBehaviour.DontDestroyOnLoad(debugRoot);
             debugRoot.name = "UIRootDebug";

--
Gitblit v1.8.0