コード例 #1
0
        private IEnumerator PopupCantSortieDecksDialog(List <DeckModel> areaDecks)
        {
            AreaDecks = areaDecks;
            if (areaDecks.Count == 0)
            {
                SortieEnableDeckNum = 0;
                yield return(StartCoroutine(ShowTutorial(0)));

                yield break;
            }
            int disableDeckNum = deckInfoManager.Init(areaDecks);

            SortieEnableDeckNum = areaDecks.Count - disableDeckNum;
            if (0 < disableDeckNum)
            {
                yield return(new WaitForEndOfFrame());

                commonDialog.OpenDialog(0);
                yield return(StartCoroutine(commonDialog.WaitForDialogClose()));

                deckInfoManager.transform.parent.SetActive(isActive: false);
            }
            yield return(StartCoroutine(ShowTutorial(SortieEnableDeckNum)));
        }