【军团】军团相关界面更新Home功能
parent
7afeca5882
commit
bb1685d2de
|
|
@ -240,8 +240,9 @@ public class UI_LegionCreatePanelController : UIWindow
|
|||
|
||||
private async void Home()
|
||||
{
|
||||
await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
// await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
// GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
CommonUtils.HomeToCamp();
|
||||
}
|
||||
|
||||
private void _OnAutoToggle(bool isOn)
|
||||
|
|
|
|||
|
|
@ -387,8 +387,9 @@ public class UI_LegionInfoPanelController : UIWindow
|
|||
|
||||
private async void Home()
|
||||
{
|
||||
await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
// await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
// GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
CommonUtils.HomeToCamp();
|
||||
}
|
||||
|
||||
private void _OnDismissSuccess()
|
||||
|
|
|
|||
|
|
@ -403,8 +403,13 @@ public class UI_LegionSquarePanelController : UIWindow
|
|||
|
||||
private async void Home()
|
||||
{
|
||||
await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
// await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
// GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
// CommonUtils.ChangeUIScene(Framework.Constants.MAIN_SCENE_PATH);
|
||||
// UIManager.Instance.CloseAllNormalExcept(UINameConst.UI_MainPanel);
|
||||
// if (!UIManager.Instance.CheckWindowCreated(UINameConst.UI_MainPanel))
|
||||
// await UI_MainPanelController.Open();
|
||||
CommonUtils.HomeToCamp();
|
||||
}
|
||||
|
||||
private void _OnSearchContentChange(string str)
|
||||
|
|
|
|||
|
|
@ -254,8 +254,9 @@ public class UI_LegionBattleApplyController : UIWindow
|
|||
private async void _OnHome()
|
||||
{
|
||||
//UIManager.Instance.CloseAllNormalExcept(UINameConst.UI_MainPanel);
|
||||
await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
// await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
// GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
CommonUtils.HomeToCamp();
|
||||
}
|
||||
|
||||
private void _OnClickHelp()
|
||||
|
|
|
|||
|
|
@ -143,7 +143,8 @@ public class UI_LegionBattleMercenaryApplyController : UIWindow
|
|||
|
||||
private void _OnClickHome()
|
||||
{
|
||||
LegionManager.Instance.Back2Camp();
|
||||
//LegionManager.Instance.Back2Camp();
|
||||
CommonUtils.HomeToCamp();
|
||||
}
|
||||
|
||||
private void _OnTabApply(bool isOn)
|
||||
|
|
|
|||
|
|
@ -375,8 +375,9 @@ public class UI_LegionBattleMercenarySquareController : UIWindow
|
|||
private async void _OnHome()
|
||||
{
|
||||
//UIManager.Instance.CloseAllNormalExcept(UINameConst.UI_MainPanel);
|
||||
await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
// await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
// GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
CommonUtils.HomeToCamp();
|
||||
}
|
||||
private void _OnTabMercenary(bool isOn)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -227,8 +227,9 @@ public class UI_LegionBattleTeamOrganizationController : UIWindow
|
|||
private async void _OnHome()
|
||||
{
|
||||
//UIManager.Instance.CloseAllNormalExcept(UINameConst.UI_MainPanel);
|
||||
await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
// await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
// GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
CommonUtils.HomeToCamp();
|
||||
}
|
||||
|
||||
private void _OnLegionBattleTeams()
|
||||
|
|
|
|||
|
|
@ -187,6 +187,7 @@ public class UI_LegionBattleTeamOrganizeController : UIWindow
|
|||
//BindButton(Button_JoinTeam, _OnClickJoin);
|
||||
BindButton(Button_LockTeam, _OnClickLockTeam);
|
||||
BindButton(Button_back, _OnClickClose);
|
||||
BindButton(Button_Home, _OnHome);
|
||||
BindButton(Button_ChangeTeam, _OnClickEdit);
|
||||
BindButton(Button_WatchBattleField, _OnClickEnterBattle);
|
||||
|
||||
|
|
@ -256,6 +257,14 @@ public class UI_LegionBattleTeamOrganizeController : UIWindow
|
|||
{
|
||||
CloseWindow();
|
||||
}
|
||||
|
||||
private async void _OnHome()
|
||||
{
|
||||
//UIManager.Instance.CloseAllNormalExcept(UINameConst.UI_MainPanel);
|
||||
// await CommonUtils.CloseUIWithScene(UINameConst.UI_Camp);
|
||||
// GameStateManager.Instance.ChangeState(new GameStateMainScene());
|
||||
CommonUtils.HomeToCamp();
|
||||
}
|
||||
|
||||
private async void _OnClickLockTeam()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue