Bark UI not in the NPC game object

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SindriaGames
Posts: 10
Joined: Sun Apr 06, 2025 1:17 pm

Bark UI not in the NPC game object

Post by SindriaGames »

Hi,

What is the best way to setup the Bark UI and mantain reference dinamically when the NPC that plays the barks is spawned and the UI is in a canvas that is not in the NPC game object?

IS there a way to setup the dialogues subtitles as the UI for barks? (i dont need to be a world space UI)
Thanks!
User avatar
Tony Li
Posts: 23252
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bark UI not in the NPC game object

Post by Tony Li »

Hi,

You can still add a screen space Canvas to the NPC if you like. That's usually the simplest way to do it. Add a screen space canvas a child of the NPC, add the bark UI to it, and assign the bark UI to the NPC's Dialogue Actor component.
SindriaGames
Posts: 10
Joined: Sun Apr 06, 2025 1:17 pm

Re: Bark UI not in the NPC game object

Post by SindriaGames »

thanks! yes seems the best way to do it.
User avatar
Tony Li
Posts: 23252
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bark UI not in the NPC game object

Post by Tony Li »

Glad to help!
Post Reply