From 267801ab9d88d9861f943cb714abb26bc1145cb9 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 25 十月 2018 11:13:53 +0800
Subject: [PATCH] 4334 【前端】随包资源支持热更

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

diff --git a/System/Debug/DebugUtility.cs b/System/Debug/DebugUtility.cs
index bbd1f73..9a2ae69 100644
--- a/System/Debug/DebugUtility.cs
+++ b/System/Debug/DebugUtility.cs
@@ -72,7 +72,7 @@
     {
         if (debugRoot == null)
         {
-            var prefab = Resources.Load<GameObject>("UI/Prefabs/UIRootDebug");
+            var prefab = BuiltInLoader.LoadPrefab("UIRootDebug");
             debugRoot = GameObject.Instantiate(prefab);
             MonoBehaviour.DontDestroyOnLoad(debugRoot);
             debugRoot.name = "UIRootDebug";

--
Gitblit v1.8.0