hexiaojie 10 месяцев назад
Родитель
Сommit
7ebdf6ff77
1 измененных файлов с 6 добавлено и 0 удалено
  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);