20 lines
507 B
C#
20 lines
507 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using XFrame.Core.UI;
|
|
|
|
public class EvaluatePanel : XUIPanel
|
|
{
|
|
public EvaluatePanel() : base(UIType.Normal, UIMode.HideOther, UICollider.Normal)
|
|
{
|
|
uiPath = "Prefabs/EvaluatePanel";
|
|
}
|
|
public override void Awake(GameObject go)
|
|
{
|
|
this.transform.Find("btn-informition").GetComponent<Button>().onClick.AddListener(() =>
|
|
{
|
|
ClosePanel<EvaluatePanel>();
|
|
ShowPanel<IntroducePanel>();
|
|
});
|
|
}
|
|
}
|