Wwise Unity 集成提供多个 SoundBank 管理选项,同时也有一些独特的要求。若使用该集成包,请注意以下事项:
- 推荐的 SoundBank 位置会因是否使用 Unity Addressables( 在 Unity 中使用 Wwise Addressables Package )而有所不同。若使用 Addressables,则须将位置设在工程的 Assets 文件夹内,以确保能够正确导入 SoundBank。若不使用 Addressables,则可将位置设在工程以外。有关详细信息,请参阅 设置 SoundBank 位置 和 安装 Wwise Unity Addressables Package 章节。
- 您可以通过 Wwise Picker 在 Unity 中生成 SoundBank。有关详细信息,请参阅 Wwise Picker 章节。
- Unity 开发人员可使用 AkBank 类来执行各种 SoundBank 操作(比如加载、卸载和解码)。
- Auto-defined SoundBanks are not supported, so you must ensure that the appropriate option is disabled in the Wwise project. In Wwise Authoring, go to Project > Project Settings > SoundBanks and ensure that Enable Audo Defined SoundBanks is cleared. 参见 SoundBanks 选项卡。