@@ -309,5 +309,10 @@ namespace GFGGame
{
return $"{LUCKY_BOX_TITLE_PATH}{res}.{extName}";
}
+
+ public static string GetEmojiResPath(string dir, string res, string extName = "prefab")
+ {
+ return $"{ANIMATION_DIR_PATH}/{dir}/{res}.{extName}";
+ }
@@ -1065,6 +1065,15 @@ namespace GFGGame
resList.Add(aniRes);
+ if (cfg.emojiRes.Length > 0 && cfg.emojiRes != "0")
+ string res = cfg.emojiRes.Split('/')[1];
+ string aniRes = ResPathUtil.GetEmojiResPath("DressUp",cfg.emojiRes);
+ if (!resList.Contains(aniRes))
+ resList.Add(aniRes);
ResourceDownloaderOperation downloaderOperation = YooAssets.CreateBundleDownloader(resList.ToArray(), 3, 3);