public CacheWinInfo resumeCacheWin(UIWindow win) { win.IsReadyToHide = true; CacheWinInfo info = popCacheWinInfo(); if (info != null) { info.resumeWin(); } return(info); }
public void pushCacheWinInfo(CacheWinInfo info) { if (info != null) { cacheWinInfos_.Push(info); } else { Debug.Log("pushCacheWinInfo info = null"); } }
public CacheWinInfo popCacheWinInfo() { if (cacheWinInfos_.Count > 0) { CacheWinInfo info = cacheWinInfos_.Pop(); return(info); } else { Debug.Log("popCacheWinInfo cacheWinInfos_ count = 0"); return(null); } }
virtual public void show(CacheWinInfo info) { show(); }