Exemple #1
0
        public void Execute(EndRound cmd)
        {
            GameData.LastRoundWin = cmd.Win;

            State = new State.Shell();
            MusicManager.Instance.CrossFadeIn();
            StartCoroutine(GotoEndRoundUICoroutine(cmd));
        }
Exemple #2
0
        IEnumerator GotoEndRoundUICoroutine(EndRound cmd)
        {
            yield return(new WaitForSeconds(2));

            MainRoot.Goto(MainRoot.UIStateName.EndRound);
            while (!EndRoundUI.Instance)
            {
                yield return(new WaitForEndOfFrame());
            }
            EndRoundUI.Instance.PlayEndRoundProcess(cmd);
        }