Browse Source

资源释放

zhaoyang 3 years ago
parent
commit
2e4dbda48f
1 changed files with 8 additions and 0 deletions
  1. 8 0
      GameClient/Assets/ThirdParty/FairyGUI/Scripts/UI/GObject.cs

+ 8 - 0
GameClient/Assets/ThirdParty/FairyGUI/Scripts/UI/GObject.cs

@@ -1110,8 +1110,16 @@ namespace FairyGUI
 
             set
             {
+                Debug.Log("zoya00:" + displayObject);
+                Debug.Log("zoya11:" + displayObject.gameObject);
+                Debug.Log("zoya22:" + value);
                 if (displayObject != null && displayObject.gameObject != null)
+                {
+                    Debug.Log("zoya33:" + value);
                     displayObject.gameObject.name = value;
+                }
+
+
             }
         }