备份CatanBuilding瘦身独立工程

This commit is contained in:
JSD\13999
2026-05-26 16:15:54 +08:00
commit 2d0e6a61b7
12001 changed files with 2431925 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using asap.core;
using cfg;
using game;
using GameCore;
using UnityEngine.UI;
public class EventWashingInfoPopupPanel : BasePanel
{
private EventWashingDataManager m_DataManager;
Button btn_close;
protected override void Start()
{
m_DataManager = GContext.container.Resolve<EventWashingDataManager>();
btn_close = transform.Find("btn_close").GetComponent<Button>();
btn_close.onClick.AddListener(OnBtnCloseClick);
}
protected override void OnDestroy()
{
btn_close.onClick.RemoveAllListeners();
}
private async void OnBtnCloseClick()
{
var data = m_DataManager.GetCurrentEventWashing();
await UIManager.Instance.ShowUI(UITypes.EventWashingPanel);
UIManager.Instance.HideUI(m_DataManager.GetCurrentInfoPopupPanel());
}
}