CultivateImmortal/Assets/Scripts/GameScene/UI/XiangmoPanel.cs

17 lines
339 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class XiangmoPanel : BasePanel
{
public Button btnClose;
public override void Init()
{
btnClose.onClick.AddListener(() =>
{
UIManager.Instance.HidePanel<XiangmoPanel>();
});
}
}