public void Play(Action<AdvancingWithdrawalType> onDecideCallback) { _actCallback = onDecideCallback; BattleCutManager.GetStateBattle().prodBCBattle.setResultHPModeAdvancingWithdrawal(-74.86f); UIBattleCutNavigation navigation = BattleCutManager.GetNavigation(); navigation.SetNavigationInAdvancingWithdrawal(); navigation.Show(Defines.PHASE_FADE_TIME, null); Show().setOnComplete((Action)delegate { _isInputPossible = true; _listLabelButton.ForEach(delegate(UILabelButton x) { x.toggle.enabled = (x.isValid ? true : false); }); }); }
public void Play(Action <AdvancingWithdrawalDCType, ShipRecoveryType> onDecide) { this._actOnDecide = onDecide; BattleCutManager.GetStateBattle().prodBCBattle.setResultHPModeAdvancingWithdrawal(-74.86f); UIBattleCutNavigation navigation = BattleCutManager.GetNavigation(); navigation.SetNavigationInAdvancingWithdrawal(); navigation.Show(Defines.PHASE_FADE_TIME, null); this.Show().setOnComplete(delegate { this._isInputPossible = true; this._listLabelButton.ForEach(delegate(UILabelButton x) { x.toggle.set_enabled(x.isValid); }); }); }