| | |
| | | using System.Collections.Generic; |
| | | using UnityEngine; |
| | | |
| | | public class PopupWindowsProcessor : MonoBehaviour |
| | | public class PopupWindowsProcessor : SingletonMonobehaviour<PopupWindowsProcessor> |
| | | { |
| | | Queue<string> popupWindowQueue = new Queue<string>(); |
| | | |
| | | public void Add(string name) |
| | | { |
| | | |
| | | } |
| | | |
| | | } |
| | | public void Remove(string name) |
| | | { |
| | | |
| | | } |
| | | |
| | | private void LateUpdate() |
| | | { |
| | | if (StageLoad.Instance.isLoading) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | if (StageLoad.Instance.currentStage == null) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | if (StageLoad.Instance.stageType == Stage.E_StageType.MainCity) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | if (MapUtility.IsDungeon(PlayerDatas.Instance.baseData.MapID)) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | if (popupWindowQueue.Count == 0) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | } |
| | | |
| | | } |