24 lines
512 B
C#
24 lines
512 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class UI_CheckTaskPanel : BasePanel
|
|
{
|
|
public void Init(string content)
|
|
{
|
|
GetControl<TextMeshProUGUI>("Text_Content").text = content;
|
|
}
|
|
|
|
protected override void OnClick(string btnName)
|
|
{
|
|
switch (btnName)
|
|
{
|
|
case "Button_Close":
|
|
UIManager.Instance.HidePanel<UI_CheckTaskPanel>();
|
|
break;
|
|
}
|
|
}
|
|
}
|