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

17 lines
333 B
C#
Raw Normal View History

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