|
@@ -111,15 +111,15 @@ namespace Fort23.Mono
|
|
|
await DivineSenceInfoPanel.OpenPanel((count, useItems) => { Bnt_shengShi_onClick(count, useItems); });
|
|
await DivineSenceInfoPanel.OpenPanel((count, useItems) => { Bnt_shengShi_onClick(count, useItems); });
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public async void Btn_Shop_Click(int shopId = 0,bool isQz = false)
|
|
|
|
|
|
|
+ public async void Btn_Shop_Click(int shopId = 0)
|
|
|
{
|
|
{
|
|
|
CloseMenu();
|
|
CloseMenu();
|
|
|
- if (currentOpenUIPanel is ShopPanel && !isQz)
|
|
|
|
|
|
|
+ if (currentOpenUIPanel is ShopPanel)
|
|
|
{
|
|
{
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
UIPanel uiPanel = currentOpenUIPanel;
|
|
UIPanel uiPanel = currentOpenUIPanel;
|
|
|
|
|
|
|
|
CombatDrive.Instance.CombatController.isUpdate = false;
|
|
CombatDrive.Instance.CombatController.isUpdate = false;
|
|
@@ -127,11 +127,7 @@ namespace Fort23.Mono
|
|
|
if (uiPanel is CaveMainPanel || uiPanel is SkillSelectPanel || uiPanel is ShopPanel ||
|
|
if (uiPanel is CaveMainPanel || uiPanel is SkillSelectPanel || uiPanel is ShopPanel ||
|
|
|
uiPanel is MainHeroPanel)
|
|
uiPanel is MainHeroPanel)
|
|
|
{
|
|
{
|
|
|
- if (!(currentOpenUIPanel is ShopPanel))
|
|
|
|
|
- {
|
|
|
|
|
- UIManager.Instance.HideUIUIPanel(uiPanel, isBreadcrumbBarPanel: false);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
|
|
+ UIManager.Instance.HideUIUIPanel(uiPanel, isBreadcrumbBarPanel: false);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (!shopPanel.IsClose)
|
|
if (!shopPanel.IsClose)
|
|
@@ -221,8 +217,7 @@ namespace Fort23.Mono
|
|
|
PlayerGuideManager.Instance.StepInit();
|
|
PlayerGuideManager.Instance.StepInit();
|
|
|
PlayerGuideManager.Instance.SetOnClickMask(true);
|
|
PlayerGuideManager.Instance.SetOnClickMask(true);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
EventSystemManager.Instance.isTriggerEvent = true;
|
|
EventSystemManager.Instance.isTriggerEvent = true;
|
|
|
CombatDrive.Instance.CombatController.ChangeState(CombatController.idle);
|
|
CombatDrive.Instance.CombatController.ChangeState(CombatController.idle);
|