using System.Collections; using System.Collections.Generic; using UnityEngine; public class WeddingOperationPanel : MonoBehaviour { public static WeddingOperationPanel Instance; private void Awake() { Instance = this; } private void OnDestroy() { Instance = null; } public GameObject _WeddingEffect; public GameObject _WCEffect; public GameObject _BanquetEffect; public void OnMarryBtn() { UIManager.ShowUI(UIInfo.ReqMarryPanel); } public void OnWCBtn() { UIManager.ShowUI(UIInfo.WCBookPanel); } public void OnBanquetBtn() { //UIManager.ShowUI(UIInfo.WeedingBanquetPanel); ReqWeddingFeastType req = new ReqWeddingFeastType(); req.flag = 1; req.SendMsg(); } public void OnClose() { UIManager.CloseUI(UIInfo.WeddingOperationPanel); } }