Just a heads up for others

I noticed I had to put the TriggerExit above the currentDialogue = null for this to work at the end of this video.

    public void Quit()
    {
        TriggerExitAction();
        currentDialogue = null;
        currentNode = null;
        isChoosing = false;
        onConversationUpdated();
    }

Maybe a version thing?
I saw Sam’s example work even after the currentDialogue was set to null like so

    public void Quit()
    {
        currentDialogue = null;

--------TriggerExitAction();-- this worked for Sam but not my (version 2020.3.0f1 Personnal)
currentNode = null;
isChoosing = false;
onConversationUpdated();
}

Putting the triggered above the null worked for me.

1 Like

Privacy & Terms