|
@@ -126,18 +126,18 @@ namespace GFGGame
|
|
|
return VEngine.Versions.Contains(resPath);
|
|
|
}
|
|
|
|
|
|
- public static string GetDressUpEffectDirPath(string res, bool inAni = false)
|
|
|
+ public static string GetDressUpEffectDirPath(string res)
|
|
|
{
|
|
|
- if (inAni)
|
|
|
- {
|
|
|
- return $"{EFFECT_DIR_PATH}/DressUpAni/{res}";
|
|
|
- }
|
|
|
return $"{EFFECT_DIR_PATH}/DressUp/{res}";
|
|
|
}
|
|
|
|
|
|
public static string GetDressUpEffectPath(string res, bool inAniDir = false, string extName = "prefab")
|
|
|
{
|
|
|
- return $"{GetDressUpEffectDirPath(res, inAniDir)}/{res}.{extName}";
|
|
|
+ if(inAniDir)
|
|
|
+ {
|
|
|
+ return $"{GetDressUpEffectDirPath(res)}/{res}2.{extName}";
|
|
|
+ }
|
|
|
+ return $"{GetDressUpEffectDirPath(res)}/{res}.{extName}";
|
|
|
}
|
|
|
public static string GetViewEffectPath(string uiName, string resName, string extName = "prefab")
|
|
|
{
|