public ResetLevelDialogContext(LevelDataItem levelData, LevelDetailDialogContextV2 parentDialog) { ContextPattern pattern = new ContextPattern { contextName = "ResetLevelDialogContext", viewPrefabPath = "UI/Menus/Dialog/ResetLevelDialog" }; base.config = pattern; this._levelData = levelData; this._parentDialog = parentDialog; }
public override void BackPage() { if ((this._levelDetailContext != null) && !this._justShowLevelDetail) { this._levelDetailContext.Destroy(); this._levelDetailContext = null; base.view.transform.GetComponent <MonoFadeInAnimManager>().Play("PageFadeIn", false, null); } else { base.BackPage(); } }