Page 1 of 1

Help with using Addressable for downloadable contents

Posted: Fri Oct 18, 2024 7:15 am
by Hisashi Joe
Hello,

I would like to use Unity Addressable for extra content but I'm having trouble with understanding how it work with Dialogue system. Currently I have added prefab and scenes as Addressable but what about the Dialogue conversation and variables?
How do I add those two as Addressable?

Re: Help with using Addressable for downloadable contents

Posted: Fri Oct 18, 2024 12:37 pm
by Tony Li
Hi,

Conversations and variables are contained inside a DialogueDatabase asset. There's no need to load them separately. If you download a new DialogueDatabase asset in your own code, you can use the DialogueManager.AddDatabase() method to add it to the Dialogue System's runtime environment. (See this for important info: Working With Multiple Databases)

The Audio()/AudioWait() sequencer commands can already load audio clips from downloadable addressables, and SetPortrait() can load portrait images from downloadable addressables.