Is there a way to disable all HUD in conversation?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Smugz
Posts: 12
Joined: Mon Jan 04, 2021 10:05 pm

Is there a way to disable all HUD in conversation?

Post 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?
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
Post Reply