| | |
| | | var _instance = TipPanel.Instance;
|
| | | WindowCenter.Instance.Open<MainInterfaceWin>(true);
|
| | |
|
| | | GA_Hero.s_MapSwitching = false;
|
| | | GA_Hero.forceAutoFight = false;
|
| | |
|
| | | // if (PreFightMission.Instance.IsFinished() == false)
|
| | |
| | |
|
| | | CreateMapTransfer();
|
| | |
|
| | | CreateMapArea();
|
| | | StartCoroutine(CreateMapArea());
|
| | |
|
| | | var mapConfig = Config.Instance.Get<MapConfig>(PlayerDatas.Instance.baseData.MapID);
|
| | | var mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig();
|
| | |
| | | WindowCenter.Instance.Open<AntiAddictionWin>();
|
| | | }
|
| | |
|
| | | GA_Hero.s_MapSwitching = false;
|
| | | }
|
| | |
|
| | | public override void UnInitialize()
|
| | |
| | |
|
| | | if (s_MapAreaDict != null)
|
| | | {
|
| | | foreach (var _list in s_MapAreaDict.Values)
|
| | | {
|
| | | for (int i = _list.Count - 1; i >= 0; --i)
|
| | | {
|
| | | GameObject.Destroy(_list[i].gameObject);
|
| | | }
|
| | | }
|
| | | s_MapAreaDict.Clear();
|
| | | s_MapAreaDict = null;
|
| | | }
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private void CreateMapArea()
|
| | | private IEnumerator CreateMapArea()
|
| | | {
|
| | | yield return WaitingForSecondConst.WaitMS200;
|
| | |
|
| | | var _dict = Config.Instance.GetAllValues<mapAreaConfig>();
|
| | |
|
| | | List<MapArea> _list = null;
|