Example #1
0
    /// <summary>
    /// Avança para o próximo texto
    /// </summary>
    public void NextText()
    {
        if (currentText == (textToShow.Length - 1)) ///Caso esse seja o último texto
        {
            SetGameObjectOff();
            playerInteract.StopTalking();
        }

        else
        {
            currentText++;
            InputText(textToShow[currentText]);
        }
    }