From 20baf61378585ba4e390601ced6e6b1cc5370309 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期四, 25 十月 2018 11:20:57 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 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