Tapping into DialogueSystem Events Globally from Code
Posted: Tue Jun 13, 2023 9:51 pm
Hello!
Is there a way to easily tap into DialogueSystemTrigger events via code?
I know you can set up events and assign Gameobjects, but I am looking to (for example), always hide the player UI when conversations start. Rather than assigning an action to every trigger to do that in every scene - is there a way I can tap into the OnConversationStart via script, so my UI knows that when that fires, it should always disable?
I'm trying to figure out what the intended way of interfacing with this is.
Is there a way to easily tap into DialogueSystemTrigger events via code?
I know you can set up events and assign Gameobjects, but I am looking to (for example), always hide the player UI when conversations start. Rather than assigning an action to every trigger to do that in every scene - is there a way I can tap into the OnConversationStart via script, so my UI knows that when that fires, it should always disable?
I'm trying to figure out what the intended way of interfacing with this is.