Change NPC Dialogue UI
Change NPC Dialogue UI
I am using the corgi engine. What I want to do is change the UI the NPC (dude) is using. It seems that no-matter what I do I am always stuck in the basic UI.
Re: Change NPC Dialogue UI
Hi,
In the integration's "Corgi Example" scene, the Dude NPCs have instances of the ConversationZone prefab. The ConversationZone has a Dialogue Actor component. The Dialogue Actor component's Subtitle Panel Number points to a custom overhead bubble subtitle panel.
If you want to use a similar kind of overhead panel, you can follow the same setup and assign your subtitle panel to the Dialogue Actor component.
If you want NPCs to use a screen space dialogue UI, assign that dialogue UI to the Dialogue Manager GameObject's Display Settings > Dialogue UI. Then set the NPC's Dialogue Actor component > Subtitle Panel Number and Menu Panel Number to
If you want an NPC to use a different screen space dialogue UI than the default one assigned to the Dialogue Manager, add an Override Dialogue UI component to the NPC and assign a dialogue UI or dialogue UI prefab to it.
In the integration's "Corgi Example" scene, the Dude NPCs have instances of the ConversationZone prefab. The ConversationZone has a Dialogue Actor component. The Dialogue Actor component's Subtitle Panel Number points to a custom overhead bubble subtitle panel.
If you want to use a similar kind of overhead panel, you can follow the same setup and assign your subtitle panel to the Dialogue Actor component.
If you want NPCs to use a screen space dialogue UI, assign that dialogue UI to the Dialogue Manager GameObject's Display Settings > Dialogue UI. Then set the NPC's Dialogue Actor component > Subtitle Panel Number and Menu Panel Number to
If you want an NPC to use a different screen space dialogue UI than the default one assigned to the Dialogue Manager, add an Override Dialogue UI component to the NPC and assign a dialogue UI or dialogue UI prefab to it.