Browse Source

资源释放

zhaoyang 3 years ago
parent
commit
08a50cd4d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/ThirdParty/FairyGUI/Scripts/UI/GObject.cs

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

@@ -1102,7 +1102,7 @@ namespace FairyGUI
         {
             get
             {
-                if (displayObject != null)
+                if (displayObject != null&&displayObject.gameObject!=null)
                     return displayObject.gameObject.name;
                 else
                     return null;