Hi,
In order to use audio(voice act) files for node, do I just put them into Assets/Resources folder?
or does it also need to be registered into Addressable properly?
Addressable and Resources folder for audio files
Re: Addressable and Resources folder for audio files
Hi,
If you want to use addressables:
1. Use the Package Manager window to enable the Addressables package.
2. In the Dialogue System's Welcome window, tick the Addressables checkbox to allow the Dialogue System to use Addressables.
3. Do not put your audio files in a Resources folder. Tick their Addressable checkboxes and set their addressable key strings to match what you plan to use in your Audio()/AudioWait() sequencer commands. If you plan to have more than a few audio files, I recommend using entrytags. Name your audio files according to their entrytags.
If you're not going to use addressables -- or if you just want to test quickly for now -- put the audio files in Resources. When they're in Resources, Unity will load them all into memory at start (which is not ideal if you have a lot of files), but it will be able to find them without any extra work on your part.
If you want to use addressables:
1. Use the Package Manager window to enable the Addressables package.
2. In the Dialogue System's Welcome window, tick the Addressables checkbox to allow the Dialogue System to use Addressables.
3. Do not put your audio files in a Resources folder. Tick their Addressable checkboxes and set their addressable key strings to match what you plan to use in your Audio()/AudioWait() sequencer commands. If you plan to have more than a few audio files, I recommend using entrytags. Name your audio files according to their entrytags.
If you're not going to use addressables -- or if you just want to test quickly for now -- put the audio files in Resources. When they're in Resources, Unity will load them all into memory at start (which is not ideal if you have a lot of files), but it will be able to find them without any extra work on your part.