using System.Collections.Generic; using MoleMole.Config; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace MoleMole { public class SellConfirmDialogContext : BaseDialogContext { public readonly List sellList; public SellConfirmDialogContext(List sellList) { config = new ContextPattern { contextName = "SellConfirmDialogContext", viewPrefabPath = "UI/Menus/Dialog/SellConfirmDialog", ignoreNotify = true }; this.sellList = sellList; } protected override void BindViewCallbacks() { BindViewCallback(base.view.transform.Find("Dialog/Content/DoubleButton/OKBtn").GetComponent