Example #1
0
    private void DoAnotherDialogBox()
    {
        ResetAfterBox();

        if (!StartNextDialogBox())
        {
            _voiceAudioSource.clip = null;
            _dialogPlaying         = false;

            if (DialogOverEvent != null)
            {
                DialogOverEvent.Invoke();
            }
        }
    }
Example #2
0
    private void DialogOver()
    {
        if (_tutorialDialog != null)
        {
            _tutorialDialog.SetActive(false);
        }

        _dialog.SetActive(false);
        _dialogPlaying = false;

        if (DialogOverEvent != null)
        {
            DialogOverEvent.Invoke();
        }
    }