版本
menu
|
Wwise Unity Integration Documentation
|
AkTriggerEnter 来在玩家进入房间时加载 SoundBank。注意,如果在需要房间声音时未加载 SoundBank ,可能会产生声音延迟问题。See Loading SoundBanks using Triggers in the Wwise Unity Integration learning materials for a more thorough overview of using Triggers to load SoundBanks.AkTriggerExit 来在玩家离开房间时卸载 SoundBank。LoadBank 函数调用,指示是否成功将加载请求添加到了队列中,并允许一边执行其他操作一边在后台继续运行实际加载任务。若禁用 Asynchronous,则将中断主处理线程,直到完成加载。Asynchronous 调用尤其适用于不需要立刻加载的大 SoundBank。LoadBank 的 Asynchronous 说明。