21 lines
644 B
C#
21 lines
644 B
C#
|
|
using UnityEngine;
|
||
|
|
using UnityEngine.UI;
|
||
|
|
using ZXKFramework;
|
||
|
|
public class ModelShowPanel : UIBase
|
||
|
|
{
|
||
|
|
public override string GroupName => UIGroupLiao.Model.ToString();
|
||
|
|
public override string Name => "ModelShowPanel";
|
||
|
|
public override void HandleEvent(string name, object data)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
public override void Init(IUIManager uictrl)
|
||
|
|
{
|
||
|
|
base.Init(uictrl);
|
||
|
|
transform.FindFirst<Text>("Text").text = LanguageTools.Get(7);
|
||
|
|
transform.FindFirst<Button>("Exit_Btn").onClick.AddListener(()=> {
|
||
|
|
Game.Instance.eventManager.Raise(new CloseModelEvent());
|
||
|
|
});
|
||
|
|
}
|
||
|
|
}
|