|
@@ -11,7 +11,7 @@ namespace Fort23.Mono
|
|
|
[UIBinding(prefab = "AppBarPanel")]
|
|
|
public partial class AppBarPanel : UIPanel
|
|
|
{
|
|
|
- UIPanel currentOpenUIPanel;
|
|
|
+ public UIPanel currentOpenUIPanel;
|
|
|
|
|
|
private void Init()
|
|
|
{
|
|
@@ -46,7 +46,6 @@ namespace Fort23.Mono
|
|
|
|
|
|
UIManager.Instance.HideUIUIPanel(currentOpenUIPanel);
|
|
|
SkillSelectPanel skillSelectPanel = await SkillSelectPanel.OpenSkillSelectPanel();
|
|
|
- currentOpenUIPanel = skillSelectPanel;
|
|
|
});
|
|
|
Btn_HeroInfomation.onClick.AddListener(async () =>
|
|
|
{
|
|
@@ -58,7 +57,6 @@ namespace Fort23.Mono
|
|
|
UIManager.Instance.HideUIUIPanel(currentOpenUIPanel);
|
|
|
EventSystemManager.Instance.isOpenUi = true;
|
|
|
MainHeroPanel mainHeroPanel = await MainHeroPanel.OpenPanel();
|
|
|
- currentOpenUIPanel = mainHeroPanel;
|
|
|
await mainHeroPanel.UIClosed();
|
|
|
EventSystemManager.Instance.isOpenUi = false;
|
|
|
});
|
|
@@ -73,7 +71,6 @@ namespace Fort23.Mono
|
|
|
EventSystemManager.Instance.isOpenUi = true;
|
|
|
CombatDrive.Instance.CombatController.isUpdate = false;
|
|
|
HeroInformationPanel heroInformationPanel = await HeroInformationPanel.OpenPanel();
|
|
|
- currentOpenUIPanel = heroInformationPanel;
|
|
|
await heroInformationPanel.UIClosed();
|
|
|
CombatDrive.Instance.CombatController.isUpdate = true;
|
|
|
EventSystemManager.Instance.isOpenUi = false;
|
|
@@ -119,6 +116,7 @@ namespace Fort23.Mono
|
|
|
if (eventLists != null && eventLists.Count > 0)
|
|
|
{
|
|
|
EventSystemManager.Instance.isOpenUi = true;
|
|
|
+
|
|
|
DivineSenceEventResultPanel divineSenceEventResultPanel =
|
|
|
await DivineSenceEventResultPanel.OpenPanel(eventLists);
|
|
|
await divineSenceEventResultPanel.UIClosed();
|
|
@@ -143,6 +141,7 @@ namespace Fort23.Mono
|
|
|
{
|
|
|
Btn_Back.gameObject.SetActive(true);
|
|
|
bnt_shengShi.gameObject.SetActive(false);
|
|
|
+ currentOpenUIPanel = uiPanel;
|
|
|
}
|
|
|
}
|
|
|
|