Checking if Dialogue UI is Current Dialogue UI
Posted: Thu Jan 16, 2025 11:46 pm
Hi Tony, we are currently crunching to try and get a new build out in time for Tribeca late submissions, so I'm setting up a system where we can easily switch between different dialogue templates for different fx.
It mostly works. However, I have some templates that have things like pop in animations subscribed to conversation start and stop dialogue events. This causes them to pop on screen even when they are not the current DialougeUI
I'm trying to set up a guard clause to prevent this from happening when they are not the active dialogue
Is there a good way to implement what I'm trying to do here (unsuccessfully)?
It mostly works. However, I have some templates that have things like pop in animations subscribed to conversation start and stop dialogue events. This causes them to pop on screen even when they are not the current DialougeUI
I'm trying to set up a guard clause to prevent this from happening when they are not the active dialogue
Is there a good way to implement what I'm trying to do here (unsuccessfully)?