17 lines
386 B
C#
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));
|
|
}
|
|
}
|