zhaoyang 3 жил өмнө
parent
commit
ca66a104dd

+ 5 - 1
GameClient/Assets/Game/HotUpdate/Views/Card/CardFosterView.cs

@@ -7,6 +7,7 @@ using UnityEngine;
 using System.Timers;
 using System.Collections;
 using System.Linq;
+using VEngine;
 
 namespace GFGGame
 {
@@ -137,7 +138,10 @@ namespace GFGGame
                 _cardObj = null;
             }
             string resPath = ResPathUtil.GetCardAnimationPath(_cardData.resources[_cardData.resIndex]);
-            _cardObj = DressUpUtil.AddAnimationObj(resPath);
+            if (Versions.Contains(resPath))
+            {
+                _cardObj = DressUpUtil.AddAnimationObj(resPath);
+            }
 
             if (_cardObj != null)
             {