Esempio n. 1
0
 void EndDialogue()
 {
     player.SetIsDialoguing(false);
     Time.timeScale = 1;
     AnimateBox(0);
     dialogueEnded           = true;
     DialogueButton.canPress = false;
 }
Esempio n. 2
0
    public void StartDialogue(Dialogue dialogue)
    {
        player = gc.GetActiveCharGO();
        player.SetIsDialoguing(true);

        Time.timeScale = 0;

        dialogueEnded           = false;
        DialogueButton.canPress = true;

        AnimateBox(1);

        argumentos.Clear();

        foreach (string argumento in dialogue.argumentos)
        {
            argumentos.Enqueue(argumento);
        }

        DisplayNextSequence();
    }