Beispiel #1
0
    public IEnumerator NextRoundSequence()
    {
        if (_infiniteMode)
        {
            _roundController.OpenChooseCardScreen(1.0f);
            yield return(new WaitForSeconds(2.0f));

            _dialogueActions.StartNewDialogue(_gameplayData[0].Lines, _actions[0]);
            _avatarImage.sprite = _avatarSprites[Random.Range(0, 3)];
        }
        else
        {
            _roundController.OpenChooseCardScreen(1.0f);
            yield return(new WaitForSeconds(2.0f));

            _avatarImage.sprite = _avatarSprites[_roundCount];
            _dialogueActions.StartNewDialogue(_gameplayData[0].Lines, _actions[0]);
        }
    }