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