using System; using TMPro; using UnityEngine.UI; namespace ZC { [UIType(UIType.DialogueUI)] public class DialogueUI : UIBase { private TMP_Text txt_Title; private TMP_Text txt_Content; private Button btn_Close; private Action callback; public override void Init() { base.Init(); txt_Title = GetValue("txt_Title"); txt_Content = GetValue("txt_Content"); btn_Close = GetValue