Listen for new ConversationStates
Listen for new ConversationStates
I'd like to set up a listener that receives information each time the current ConversationState changes. I can't see any built-in functionality for this - I'd be grateful if you could tell me what would be the best way to set this up.
Re: Listen for new ConversationStates
Hi,
Add an OnConversationLine(Subtitle) method to a script on your Dialogue Manager. This method is called every time a conversation goes to a new state. You can read DialogueManager.currentConversationState to get info about the state.
Add an OnConversationLine(Subtitle) method to a script on your Dialogue Manager. This method is called every time a conversation goes to a new state. You can read DialogueManager.currentConversationState to get info about the state.