备份CatanBuilding瘦身独立工程
This commit is contained in:
19
Assets/Scripts/UI/Social/Chest/ClubRankPopupPanel.cs
Normal file
19
Assets/Scripts/UI/Social/Chest/ClubRankPopupPanel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using GameCore;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class ClubRankPopupPanel : MonoBehaviour
|
||||
{
|
||||
Button btn_close;
|
||||
private void Awake()
|
||||
{
|
||||
btn_close = transform.Find("btn_close").GetComponent<Button>();
|
||||
}
|
||||
private void Start()
|
||||
{
|
||||
btn_close.onClick.AddListener(() =>
|
||||
{
|
||||
UIManager.Instance.DestroyUI(UITypes.ClubRankPopupPanel);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user