destroying the DialogueManager prefab while last node of the conversation being activated

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

destroying the DialogueManager prefab while last node of the conversation being activated

Post by fkkcloud »

Hello,

I have a conversation that is started in a cinematic driven by the Timeline Continue track.

On the last node of the conversation, I am just loading a new scene without properly closing the conversation by putting an additional Continue track for the last node if that makes sense.

My DialogueManager instance is not persistent so it will be destroyed on UnloadScene.

In Dialogue Node Editor Window, I noticed that the green highlight on the last node went away as I load a new scene.
However, is it a safe way to do it?
Should I always finish the conversation properly before I destroy the DialogueManager?
User avatar
Tony Li
Posts: 22047
Joined: Thu Jul 18, 2013 1:27 pm

Re: destroying the DialogueManager prefab while last node of the conversation being activated

Post by Tony Li »

Hi,

It should be fine.
Post Reply