Browse Source

卡牌检查动画

zhaoyang 3 years ago
parent
commit
ca66a104dd
1 changed files with 5 additions and 1 deletions
  1. 5 1
      GameClient/Assets/Game/HotUpdate/Views/Card/CardFosterView.cs

+ 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)
             {