|
@@ -189,6 +189,11 @@ namespace GFGGame
|
|
|
|
|
|
public static string GetDressUpLayerEffectResPath(ItemCfg itemCfg, int layerId, bool inAniDir)
|
|
public static string GetDressUpLayerEffectResPath(ItemCfg itemCfg, int layerId, bool inAniDir)
|
|
{
|
|
{
|
|
|
|
+ if(DressUpMenuItemCfg1Array.Instance.CheckIsSceneType(itemCfg.id))
|
|
|
|
+ {
|
|
|
|
+ //场景类型的物品特效都不分动画和静态
|
|
|
|
+ inAniDir = false;
|
|
|
|
+ }
|
|
string res = GetDressUpLayerResName(itemCfg, layerId);
|
|
string res = GetDressUpLayerResName(itemCfg, layerId);
|
|
return GetDressUpEffectPath(res, inAniDir);
|
|
return GetDressUpEffectPath(res, inAniDir);
|
|
}
|
|
}
|