private void SetActivePopUp() { if (activePopup != null) { activePopup.OnPopUpResponseComeEvent -= ActivePopup_OnPopUpResponseCome; } activePopup = popUpQueue[popUpQueue.Count - 1]; activePopup.OnPopUpResponseComeEvent += ActivePopup_OnPopUpResponseCome; }
private void AddPopUpToQueue(ref LB_PopUp popUp) { popUpQueue.Add(popUp); }