Hello,
We are currently using the Wheel Standard Dialogue UI prefab. But we want to have the user toggle it on and off. When the Wheel Standard Dialogue UI gets toggled on and off. The subtitles text event in the inspector show that it's still playing. But it's not being displayed on screen.
However if we take the subtitles outside of the Dialogue Panel. They can be toggled on and off. But the Response buttons in the Dialogue panel no longer work.
Do you know if I am setting up something wrong?
Subtitles not rendering after parent object is deactivated
Re: Subtitles not rendering after parent object is deactivated
Hi,
The best way to turn off the UI is to disable its Canvas. This keeps all of its animators and content scripts intact so they'll reappear fine when you re-enable the Canvas. It's also the most efficient because it doesn't trigger a UI re-layout like actually reactivating the GameObject would.
The best way to turn off the UI is to disable its Canvas. This keeps all of its animators and content scripts intact so they'll reappear fine when you re-enable the Canvas. It's also the most efficient because it doesn't trigger a UI re-layout like actually reactivating the GameObject would.
Re: Subtitles not rendering after parent object is deactivated
Hi Tony,
Thank you for the tip! Sorry, I forgot to mention we are using it in VR and I think it was due to that.
Thank you for the tip! Sorry, I forgot to mention we are using it in VR and I think it was due to that.