CutePet/Assets/Scripts/GameScene/Panel/GoldLosePanel.cs

26 lines
529 B
C#
Raw Normal View History

2024-10-25 11:10:04 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GoldLosePanel : BasePanel
{
//<2F>ر<EFBFBD>
public Button btnClose;
//<2F><><EFBFBD><EFBFBD>
public Button btnSubmit;
public override void Init()
{
btnClose.onClick.AddListener(() =>
{
UIManager.Instance.HidePanel<GoldLosePanel>(false);
});
btnSubmit.onClick.AddListener(() =>
{
UIManager.Instance.HidePanel<GoldLosePanel>(false);
});
}
}