using System.Collections.Generic; using MoleMole.Config; using UnityEngine; using UnityEngine.UI; using proto; namespace MoleMole { public class LevelDetailDialogContextV2 : BaseDialogContext { public readonly LevelDataItem levelData; private LevelDiffculty difficulty; public LevelDetailDialogContextV2(LevelDataItem levelData, LevelDiffculty difficulty) { config = new ContextPattern { contextName = "LevelDetailDialogContext1", viewPrefabPath = "UI/Menus/Dialog/LevelDetailDialogV2", ignoreNotify = false }; this.levelData = levelData; this.difficulty = difficulty; uiType = UIType.SpecialDialog; } protected override void BindViewCallbacks() { BindViewCallback(base.view.transform.Find("Missions/Prepare/Btn").GetComponent