Page 1 of 1

Is there a way to disable all HUD in conversation?

Posted: Thu Jan 07, 2021 6:39 pm
by Smugz
I have made the game pause when the player talks to an NPC, how would I remove all the HUD at the same time during conversation?

Re: Is there a way to disable all HUD in conversation?

Posted: Thu Jan 07, 2021 7:40 pm
by Tony Li
Hi,

The easiest way is to add a Dialogue System Events component to the Dialogue Manager GameObject. Configure the OnConversationStart() event to disable the Canvas components on the canvases that contain HUDs. Configure OnConversationEnd() to re-enable them.