using MoleMole.Config; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; using proto; namespace MoleMole { public class ChangeSelfDescDialogContext : BaseDialogContext { private const int MAX_LENGTH = 40; public ChangeSelfDescDialogContext() { config = new ContextPattern { contextName = "ChangeSelfDescDialogContext", viewPrefabPath = "UI/Menus/Dialog/ChangeSelfDescDialog" }; } protected override void BindViewCallbacks() { BindViewCallback(base.view.transform.Find("Dialog/Content/DoubleButton/OKBtn").GetComponent