|
@@ -246,7 +246,11 @@ namespace GFGGame
|
|
|
{
|
|
|
_ui.m_rewardGet.visible = false;
|
|
|
}
|
|
|
-
|
|
|
+ _ui.m_name.text = "";
|
|
|
+ _ui.m_desc.text = "";
|
|
|
+ _ui.m_sellBtn.target.GetChild("sellReward").icon = "";
|
|
|
+ _ui.m_sellBtn.target.GetChild("sellGetNum").text = "";
|
|
|
+ materialID = 0;
|
|
|
bool result = await MiniGameProxy.ReqMergeGame(itemEndInfo, itemEndInfo, afterIDList, MiniGameDateManager.Instance.GetListByll(idList));
|
|
|
if(result)
|
|
|
{
|
|
@@ -262,6 +266,12 @@ namespace GFGGame
|
|
|
itemList[endIndexX][endIndexY].data = indexID;
|
|
|
itemList[endIndexX][endIndexY].GetChild("icon").icon = ResPathUtil.GetMiniGamePicPath(MergeCfgArray.Instance.GetCfgByresTypeAndmaterialld(_res, indexID).resName, "MergeGame");
|
|
|
|
|
|
+ _ui.m_name.text = "";
|
|
|
+ _ui.m_desc.text = "";
|
|
|
+ _ui.m_sellBtn.target.GetChild("sellReward").icon = "";
|
|
|
+ _ui.m_sellBtn.target.GetChild("sellGetNum").text = "";
|
|
|
+ materialID = 0;
|
|
|
+
|
|
|
bool result = await MiniGameProxy.ReqMergeGame(indexID, itemEndInfo, afterIDList, MiniGameDateManager.Instance.GetListByll(idList));
|
|
|
if(result)
|
|
|
{
|