using UnityEditor; using UnityEngine.UI; using ZXKFramework; namespace DongWuYiXue.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("TitleText"); } public void SetTitle(string name) { titleText.text = name; } public override void Show() { base.Show(); titleText.text = "¾²ÂöÊäÒº£¨ÁôÖÃÕ룩ÐéÄâ·ÂÕæÑµÁ·ÏµÍ³"; } } }