55 lines
1.2 KiB
C#
55 lines
1.2 KiB
C#
|
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);
|
|||
|
//}
|
|||
|
}
|