isDialouguePlaying()
isDialouguePlaying()
Hey, is there a check in the system that would go something among the lines of isDialouguePlaying()? I have scripts that should work only when a dialogue is playing. Is there a built-in method for scripts that does this?
Re: isDialouguePlaying()
Hi,
Yes, check DialogueManager.isConversationActive.
You can also hook into the C# events DialogueManager.instance.conversationStarted and conversationEnded, or the special script methods OnConversationStart and OnConversationEnd.
Yes, check DialogueManager.isConversationActive.
You can also hook into the C# events DialogueManager.instance.conversationStarted and conversationEnded, or the special script methods OnConversationStart and OnConversationEnd.