diff options
Diffstat (limited to 'GameCode/TitleScreenPopUpHelper.cs')
| -rw-r--r-- | GameCode/TitleScreenPopUpHelper.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/GameCode/TitleScreenPopUpHelper.cs b/GameCode/TitleScreenPopUpHelper.cs deleted file mode 100644 index 7eb9d23..0000000 --- a/GameCode/TitleScreenPopUpHelper.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class TitleScreenPopUpHelper : MonoBehaviour -{ - private int currentIndex; - - public List<BeforeGamePopUp> popUpOrder = new List<BeforeGamePopUp>(); - - public void PopNext() - { - StartCoroutine(DelayedPopUp()); - } - - private IEnumerator DelayedPopUp() - { - yield return null; - if (currentIndex < popUpOrder.Count) - { - if (popUpOrder[currentIndex].showInFullVersion) - { - UIFrameManager.instance.ChangeActiveFrameKeepOldVisible(popUpOrder[currentIndex].uiFrame); - } - currentIndex++; - } - } -} |
