Change Bark UI

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
dx20
Posts: 2
Joined: Fri Apr 05, 2019 6:45 am

Change Bark UI

Post by dx20 »

Hello,

is it possible to change Bark UI dynamically in the game?
I want to replace existing Bark UI in DialogueActor component with a new Bark UI based on some condition
in the game.

It looks like this is not possible.

Anyone has an idea how to do it?

Thanks.
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Change Bark UI

Post by Tony Li »

Hi,

Just assign a new bark UI to the Dialogue Actor component's barkUISettings.barkUI property.

The new bark UI should exist in the scene. If it's a prefab, instantiate it first.
dx20
Posts: 2
Joined: Fri Apr 05, 2019 6:45 am

Re: Change Bark UI

Post by dx20 »

Hi Tony,

thanks for a quick answer!

I was indeed trying to assign a prefab.

I will instantiate it first and then assign it.

I hope it will work.
Post Reply