How to make DialogueSystem make Conversation End through code?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
EntertainmentForge
Posts: 23
Joined: Sun Nov 29, 2020 8:50 pm

How to make DialogueSystem make Conversation End through code?

Post by EntertainmentForge »

I am adding close conversation button. So I'd like to trigger DialogueSystem to make conversation end the same way it would end if I'd click on final node in conversation. Is there a way of doing this through code?

Thanks!
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to make DialogueSystem make Conversation End through code?

Post by Tony Li »

Hi,

Code: Select all

DialogueManager.StopConversation();
Post Reply