From 82931aabaaa3e479bc04e11630a77cd9c9dd5fe3 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 26 十月 2018 20:05:36 +0800
Subject: [PATCH] Merge branch 'master' into leonard
---
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 f554f90..c7a9c4e 100644
--- a/System/Debug/DebugUtility.cs
+++ b/System/Debug/DebugUtility.cs
@@ -71,7 +71,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