| | |
| | | [SerializeField] TextEx txtFuncName; |
| | | [SerializeField] ScrollerController scroller; |
| | | JsonData jsonData; |
| | | string guid; |
| | | |
| | | string battleName = "ArenaBattleField"; |
| | | protected override void InitComponent() |
| | | { |
| | | |
| | |
| | | protected override void OnPreOpen() |
| | | { |
| | | scroller.OnRefreshCell += OnRefreshCell; |
| | | guid = BattleSettlementManager.Instance.notifyGuid; |
| | | jsonData = BattleSettlementManager.Instance.GetBattleSettlement(guid); |
| | | jsonData = BattleSettlementManager.Instance.GetBattleSettlement(battleName); |
| | | if (jsonData == null) |
| | | { |
| | | DelayCloseWindow().Forget(); |
| | |
| | | protected override void OnPreClose() |
| | | { |
| | | scroller.OnRefreshCell -= OnRefreshCell; |
| | | BattleSettlementManager.Instance.WinShowOver(guid); |
| | | BattleSettlementManager.Instance.WinShowOver(battleName); |
| | | } |
| | | |
| | | // B4 20 回合制战斗状态 #tagMCTurnFightState 通用的结算状态 State 4-结算奖励 |