|
@@ -11,7 +11,7 @@ namespace GFGGame
|
|
|
{
|
|
|
private UI_MonthlyCardTipsUI _ui;
|
|
|
private int rewards = 3;
|
|
|
- private List<int> itemID = new List<int>() { 1000005, 1000004, 5005006 };
|
|
|
+ private List<int> itemID = new List<int>() { 1000005, 1000004, 5005011 };
|
|
|
private List<string> rarity = new List<string>() {"", "wpk_db_fp", "wpk_db_zx", "wpk_db_dc", "wpk_db_ty" };
|
|
|
private List<string> rewardNum = new List<string>() { "x1800", "x300", "专属头像框" };
|
|
|
public override void Dispose()
|
|
@@ -72,11 +72,11 @@ namespace GFGGame
|
|
|
}
|
|
|
if(index == rewards - 1)
|
|
|
{
|
|
|
- item.m_icon.url = "ui://ActivityMain/" + itemCfg.res;
|
|
|
+ item.m_icon.url = ResPathUtil.GetIconPath(itemCfg.res, "png");
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- item.m_icon.url = ResPathUtil.GetCommonGameResPath(itemCfg.res);
|
|
|
+ item.m_icon.url = ResPathUtil.GetIconPath(itemCfg.res,"png");
|
|
|
}
|
|
|
item.m_txtNum.text = rewardNum[index];
|
|
|
item.target.data = itemCfg;
|