using TMPro; using UnityEngine; public class UI_SessionPanel : BasePanel { // Start is called before the first frame update void Start() { //Init(); } /// /// 初始化 /// public void Init() { //GetControl("Text_DialogBox").text = "你好"; } public override void ShowMe() { } public override void HideMe() { } /// /// 按钮点击 /// /// protected override void OnClick(string btnName) { switch (btnName) { case "ContinueBtn": GetControl("Text_DialogBox").text = "你好,我是xx供电公司员工,这是我的工作证。现在我们要对贵户高压电能计量装置进行安装"; break; } } }