Files
back_cantanBuilding/Assets/Scripts/Aquarium/UI/AquariumInfoPopupPanel.cs
2026-05-26 16:15:54 +08:00

17 lines
386 B
C#

using GameCore;
using UnityEngine;
using UnityEngine.UI;
public class AquariumInfoPopupPanel : MonoBehaviour
{
private Button btnClose;
private void Awake()
{
btnClose = transform.Find("btn_close").GetComponent<Button>();
}
void Start()
{
btnClose.onClick.AddListener(() => UIManager.Instance.DestroyUI(UITypes.AquariumInfoPopupPanel));
}
}