| | |
| | | { |
| | | WindowCenter.Instance.Open<LaunchBackGroundWin>(true); |
| | | } |
| | | |
| | | WindowCenter.Instance.CloseOthers<LaunchBackGroundWin>(); |
| | | break; |
| | | case 1: |
| | | WindowCenter.Instance.DestoryWinsByStage(WindowCenter.WindowStage.Launch); |
| | |
| | | { |
| | | WindowCenter.Instance.Open<LaunchBackGroundWin>(true); |
| | | } |
| | | |
| | | WindowCenter.Instance.CloseOthers<LaunchBackGroundWin>(); |
| | | break; |
| | | default: |
| | | WindowCenter.Instance.DestoryWinsByStage(WindowCenter.WindowStage.SelectRole); |
| | |
| | | LoadingWin.targetMapResId = config.ID; |
| | | WindowCenter.Instance.Open<LoadingWin>(true); |
| | | } |
| | | |
| | | WindowCenter.Instance.CloseOthers<LoadingWin>(); |
| | | break; |
| | | } |
| | | } |
| | |
| | | break; |
| | | } |
| | | |
| | | WindowCenter.Instance.asyncLoad.StopAllTasks(); |
| | | switch (command.toMapId) |
| | | { |
| | | case 1: |
| | | case 2: |
| | | case 3: |
| | | WindowCenter.Instance.CloseOthers<LaunchBackGroundWin>(); |
| | | break; |
| | | default: |
| | | WindowCenter.Instance.CloseOthers<LoadingWin>(); |
| | | break; |
| | | } |
| | | } |
| | | |
| | | public override void End() |