| | |
| | | protected override void OnPreOpen() |
| | | { |
| | | positionType = CrossServerLogin.Instance.oneVsOnePlayerData.myBornPoint; |
| | | // DebugEx.LogError(positionType+"服务端的给我的位置"); |
| | | CrossServerRewardModel.PkDanLvNow = CrossServerOneVsOnePlayerInfo.Instance.DanLV;
|
| | | PlaceOfBirth(positionType);//从出生位置设置信息 |
| | | PlayerDatas.Instance.PlayerDataRefreshInfoEvent += Updatefighting;//数据的刷新(h0418) |
| | | GA_Player.s_OnRefreshLife += OnRefreshPlayerLifeBar; |
| | | _MyBuffSortList.Clear(); |
| | | _OpponentBuffSortList.Clear(); |
| | | SetScoreText();
|
| | |
| | |
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | | protected override void OnActived()
|
| | | {
|
| | | dungeonEndTime = dungeonModel.GetCoolDownEndTime(DungeonCoolDownType.TowerTake);
|
| | | PlaceOfBirth(positionType);//从出生位置设置信息
|
| | | Viewport1.gameObject.SetActive(false); |
| | | Viewport2.gameObject.SetActive(false);
|
| | | } |
| | | protected override void OnAfterOpen() |
| | | { |
| | | PlayerDatas.Instance.PlayerDataRefreshInfoEvent += Updatefighting;//数据的刷新(h0418)
|
| | | GA_Player.s_OnRefreshLife += OnRefreshPlayerLifeBar;
|
| | | |
| | | |
| | | HeroBehaviour.OnStopHandupAI += OnHeroHandupAIStopPassive;
|
| | | HeroBehaviour.OnStartHandupAI += OnHeroHandupAIStarted;
|
| | | dungeonModel.dungeonCoolDownEvent += DungeonCoolDownEvent; |