Page 1 of 1

Change Bark UI

Posted: Fri Apr 05, 2019 9:17 am
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.

Re: Change Bark UI

Posted: Fri Apr 05, 2019 10:00 am
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.

Re: Change Bark UI

Posted: Fri Apr 05, 2019 11:18 am
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.