CutePet/Assets/Scripts/GameScene/Panel/GoldLosePanel.cs
2024-10-25 11:10:04 +08:00

26 lines
529 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GoldLosePanel : BasePanel
{
//¹Ø±Õ
public Button btnClose;
//¼ÌÐø
public Button btnSubmit;
public override void Init()
{
btnClose.onClick.AddListener(() =>
{
UIManager.Instance.HidePanel<GoldLosePanel>(false);
});
btnSubmit.onClick.AddListener(() =>
{
UIManager.Instance.HidePanel<GoldLosePanel>(false);
});
}
}