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