Page 1 of 1

How to Tell If Conversation Exists

Posted: Tue Sep 28, 2021 5:35 pm
by junwi21
Is there a way to tell if a conversation exists by the name?

Re: How to Tell If Conversation Exists

Posted: Tue Sep 28, 2021 6:34 pm
by Tony Li
Hi,

Try GetConversation:

Code: Select all

if (DialogueManager.masterDatabase.GetConversation("XYZ") != null)
{
    Debug.Log("Conversation 'XYZ' exists.");
}