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