26 lines
689 B
C#
Raw Normal View History

2025-09-08 14:51:28 +08:00
using UnityEditor;
using UnityEngine.UI;
using ZXKFramework;
2025-09-08 17:37:12 +08:00
namespace DongWuYiXue.Main
2025-09-08 14:51:28 +08:00
{
public class TitlePanel : UIBase
{
Text titleText;
public override string GroupName => "TitlePanel";
public override string Name => "TitlePanel";
public override void Init(IUIManager uictrl)
{
base.Init(uictrl);
titleText = transform.FindFirst<Text>("TitleText");
}
public void SetTitle(string name)
{
titleText.text = name;
}
public override void Show()
{
base.Show();
titleText.text = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Һ<EFBFBD><D2BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBA3A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѵ<EFBFBD><D1B5>ϵͳ";
}
}
}