hexiaojie 10 months ago
parent
commit
7ebdf6ff77
1 changed files with 6 additions and 0 deletions
  1. 6 0
      GameClient/Assets/Game/HotUpdate/UGUI/UGUIManager.cs

+ 6 - 0
GameClient/Assets/Game/HotUpdate/UGUI/UGUIManager.cs

@@ -8,11 +8,17 @@ namespace GFGGame
         public GameObject desktop;
         public void Init()
         {
+            Debug.Log($"正在初始化 GetUUIPrefabPath");
             string path = ResPathUtil.GetUUIPrefabPath("UICanvas");
+            Debug.Log($"正在初始化 handle");
             var handle = YooAssets.LoadAssetSync<GameObject>(path);
+            Debug.Log($"正在初始化 canvas");
             var canvas = handle.InstantiateSync();
+            Debug.Log($"正在初始化 desktop");
             desktop = canvas.transform.Find("Desktop").gameObject;
+            Debug.Log($"正在初始化 DontDestroyOnLoad");
             GameObject.DontDestroyOnLoad(canvas);
+            Debug.Log($"正在初始化 Init end");
 
             //// 初始化窗口系统
             //UniWindow.Initalize(desktop);