|
@@ -29,7 +29,7 @@ namespace GFGGame
|
|
private float startY;
|
|
private float startY;
|
|
private int indexX;
|
|
private int indexX;
|
|
private int indexY;
|
|
private int indexY;
|
|
- private float waitBtnTime = 0.6f;
|
|
|
|
|
|
+ private float waitBtnTime = 0.5f;
|
|
|
|
|
|
//当前任务id;后台获取数据
|
|
//当前任务id;后台获取数据
|
|
private int taskId;
|
|
private int taskId;
|
|
@@ -78,13 +78,13 @@ namespace GFGGame
|
|
//进入这个界面的时候向后台获取任务id和历史id列表
|
|
//进入这个界面的时候向后台获取任务id和历史id列表
|
|
idList = MiniGameDateManager.Instance.GetIdListToLL();
|
|
idList = MiniGameDateManager.Instance.GetIdListToLL();
|
|
canBtn = true;
|
|
canBtn = true;
|
|
- waitBtnTime = 0.7f;
|
|
|
|
|
|
+ waitBtnTime = 0.5f;
|
|
UpdateView();
|
|
UpdateView();
|
|
UpdateList();
|
|
UpdateList();
|
|
UpdateTask();
|
|
UpdateTask();
|
|
UpdateItemData();
|
|
UpdateItemData();
|
|
_ui.m_guildDouBaoBtn.target.touchable = false;
|
|
_ui.m_guildDouBaoBtn.target.touchable = false;
|
|
- Timers.inst.AddUpdate(CheckGuide);
|
|
|
|
|
|
+ //Timers.inst.AddUpdate(CheckGuide);
|
|
}
|
|
}
|
|
protected override void OnHide()
|
|
protected override void OnHide()
|
|
{
|
|
{
|
|
@@ -151,14 +151,14 @@ namespace GFGGame
|
|
if (j == 0)
|
|
if (j == 0)
|
|
{
|
|
{
|
|
guideAfuBtn = itemList[i][j];
|
|
guideAfuBtn = itemList[i][j];
|
|
- itemList[i][j].GetChild("icon").icon = "ui://MiniGame/jbnf_doubao_icon";
|
|
|
|
|
|
+ itemList[i][j].GetChild("icon").icon = "ui://MiniGame/doubao_txkicon";
|
|
itemList[i][j].onClick.Add(OnClickDouBaoBtn);
|
|
itemList[i][j].onClick.Add(OnClickDouBaoBtn);
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
if ( j == itemNum - 1)
|
|
if ( j == itemNum - 1)
|
|
{
|
|
{
|
|
guideAfuBtn = itemList[i][j];
|
|
guideAfuBtn = itemList[i][j];
|
|
- itemList[i][j].GetChild("icon").icon = "ui://MiniGame/jbnf_afu_icon";
|
|
|
|
|
|
+ itemList[i][j].GetChild("icon").icon = "ui://MiniGame/afu_txkicon";
|
|
itemList[i][j].onClick.Add(OnClickAFuBtn);
|
|
itemList[i][j].onClick.Add(OnClickAFuBtn);
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
@@ -648,25 +648,25 @@ namespace GFGGame
|
|
GoodsItemTipsController.ShowItemTips(propID, sourceDatas);
|
|
GoodsItemTipsController.ShowItemTips(propID, sourceDatas);
|
|
}
|
|
}
|
|
|
|
|
|
- private void CheckGuide(object param)
|
|
|
|
- {
|
|
|
|
- if (GuideDataManager.IsGuideFinish(ConstGuideId.FIELD) <= 0)
|
|
|
|
- {
|
|
|
|
- UpdateCheckGuide(null);
|
|
|
|
- }
|
|
|
|
- else
|
|
|
|
- {
|
|
|
|
- Timers.inst.Remove(CheckGuide);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- protected void UpdateCheckGuide(object param)
|
|
|
|
- {
|
|
|
|
- if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
|
|
- GuideController.TryGuide(guideDouBaoBtn, ConstGuideId.FIELD, 1, "点击豆包按钮获取材料!");
|
|
|
|
- GuideController.TryGuide(guideAfuBtn, ConstGuideId.FIELD, 2, "点击阿福按钮获取材料!");
|
|
|
|
- GuideController.TryGuide(null, ConstGuideId.FIELD, 3, "拖拽相同材料进行合成!", -1, true, _ui.target.height - 600);
|
|
|
|
- GuideController.TryGuide(_ui.m_rewardGet, ConstGuideId.FIELD, 4, "提交对应材料获得物品!");
|
|
|
|
- GuideController.TryCompleteGuide(ConstGuideId.FIELD, 5);
|
|
|
|
- }
|
|
|
|
|
|
+ //private void CheckGuide(object param)
|
|
|
|
+ //{
|
|
|
|
+ // if (GuideDataManager.IsGuideFinish(ConstGuideId.FIELD) <= 0)
|
|
|
|
+ // {
|
|
|
|
+ // UpdateCheckGuide(null);
|
|
|
|
+ // }
|
|
|
|
+ // else
|
|
|
|
+ // {
|
|
|
|
+ // Timers.inst.Remove(CheckGuide);
|
|
|
|
+ // }
|
|
|
|
+ //}
|
|
|
|
+ //protected void UpdateCheckGuide(object param)
|
|
|
|
+ //{
|
|
|
|
+ // if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
|
|
+ // GuideController.TryGuide(guideDouBaoBtn, ConstGuideId.FIELD, 1, "点击豆包按钮获取材料!");
|
|
|
|
+ // GuideController.TryGuide(guideAfuBtn, ConstGuideId.FIELD, 2, "点击阿福按钮获取材料!");
|
|
|
|
+ // GuideController.TryGuide(null, ConstGuideId.FIELD, 3, "拖拽相同材料进行合成!", -1, true, _ui.target.height - 600);
|
|
|
|
+ // GuideController.TryGuide(_ui.m_rewardGet, ConstGuideId.FIELD, 4, "提交对应材料获得物品!");
|
|
|
|
+ // GuideController.TryCompleteGuide(ConstGuideId.FIELD, 5);
|
|
|
|
+ //}
|
|
}
|
|
}
|
|
}
|
|
}
|