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();
|
2025-09-22 08:40:02 +08:00
|
|
|
|
titleText.text = "<22><><EFBFBD><EFBFBD>Ȯ<EFBFBD><C8AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD>ѵ<EFBFBD><D1B5>ϵͳ";
|
2025-09-08 14:51:28 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|