public override void OnClose() { base.OnClose(); if (this._directionEffectSetter != null) { this._directionEffectSetter.OnClose(); } this._directionEffectSetter = null; if (this._directionEndCallback != null) { this._directionEndCallback(); this._directionEndCallback = null; } }
public override void InitializeComponent() { Form form = this; base.Scale = true; NrTSingleton <UIBaseFileManager> .Instance.LoadFileAll(ref form, "SolGuide/DLG_BattleCombination", G_ID.SOLCOMBINATION_DIRECTION_DLG, false); base.DonotDepthChange(UIPanelManager.TOPMOST_UI_DEPTH + 100f); this._directionStartTime = Time.realtimeSinceStartup; this._solCombinationUniqeKey = this.GetBattleCharSolCombination(); this._directionEffectSetter = new DirectionEffectSetter(this, this._solCombinationUniqeKey); base.SetScreenCenter(); NrTSingleton <SolCombination_RecentBattleStartInfoManager> .Instance.SetRecentBattleSolCombinationInfo(Battle.BATTLE.BattleRoomtype, this._solCombinationUniqeKey, 0); Debug.Log("SolCombinationDirectionUniqeKey : " + this._solCombinationUniqeKey); }