26 lines
684 B
C#
26 lines
684 B
C#
|
|
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();
|
|||
|
|
titleText.text = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Һ<EFBFBD><D2BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>룩<EFBFBD><EBA3A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѵ<EFBFBD><D1B5>ϵͳ";
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|