Files
JJBB/Assets/Project/Script/GUI/Marry/WeedingBanquetPanel.cs

55 lines
1.2 KiB
C#
Raw Permalink Normal View History

2024-08-23 15:49:34 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GCGame.Table;
public class WeedingBanquetPanel : MonoBehaviour {
public static WeedingBanquetPanel Instance;
private void Awake()
{
Instance = this;
}
private void OnDestroy()
{
Instance = null;
}
public UIContainerBase _ItemContainer;
public WeedingBanQuetConfirmPanel _Confirmanel;
//private void OnEnable()
//{
// InitItemContainer();
//}
//public void InitItemContainer()
//{
// List<int> tabIdList = new List<int>();
// foreach(var tab in TableManager.GetWeedingBanQuet())
// {
// tabIdList.Add(tab.Key);
// }
// _ItemContainer.InitContentItem(tabIdList);
//}
//public void OnCloseBtn()
//{
// UIManager.CloseUI(UIInfo.WeedingBanquetPanel);
//}
//public void OnItemBuildBtn(int tabId)
//{
// if (!_Confirmanel.isActiveAndEnabled)
// _Confirmanel.gameObject.SetActive(true);
// _Confirmanel.InitType(tabId);
//}
//public void OnPacket(int tabId)
//{
// _Confirmanel.InitType(tabId);
//}
}