2025-09-19 17:28:05 +08:00
|
|
|
|
using UnityEditor;
|
|
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
|
using ZXKFramework;
|
|
|
|
|
|
namespace YiLiao.Main
|
|
|
|
|
|
{
|
|
|
|
|
|
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 17:41:04 +08:00
|
|
|
|
titleText.text = "<22><><EFBFBD><EFBFBD>Ȯ<EFBFBD>ķ<EFBFBD><C4B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ";
|
2025-09-19 17:28:05 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|