YanCheng_Metrology/Assets/Scripts/Project/UI/UI_Panel/UI_CheckTaskPanel.cs

37 lines
630 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UI_CheckTaskPanel : BasePanel
{
public void Init()
{
GetControl<Text>("Text_Content").text = "请输入用户名";
}
protected override void OnClick(string btnName)
{
switch (btnName)
{
case "Button_Close":
Destroy(gameObject);
break;
}
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}