在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

+2 投票
I've been learning Wwise for a bit now, and finally starting adding it to my 2D Unity project. I'm only now realizing that there doesn't seem to be support for 2D (rigidbody2D or any 2D colliders).

I'm kind of miffed. Can I still use functionality like attenuation and reverb zones?
分类:General Discussion | 用户: James M. (800 分)

1个回答

+2 投票
 
已采纳

Hey James, 

You can adapt a few things to work in a 2D Unity project, but things like AkEvent and AkAmbient seems to be designed primarily for 3D.
* That said, it's not uncommon to create a 3D unity project for your 2D game. 

Attenuations: Should work perfectly fine. It's still based on the distance from the listener to the game object of that sound. 
Effects (Reverb): You will still be able to apply all the same effects in Wwise, but the AkEnvironment won't work right out of the box.

So if you choose to use Wwise with a 2D Unity project, be ready for a bit of custom scripting (e.g. use Wwise-types instead of AkEvent/AkAmbient components), but it is certainly not impossible. 

Does it make it more clear? 

用户: Mads Maretty S. (Audiokinetic) (40.2k 分)
采纳于 用户:James M.
Yes, thank you for the information!
Attenuation did indeed work without any custom setup. I still have to test Effects, but I think I understand the flow of interacting between Unity and Wwise better now.

Thanks again!
Using Ak Environment in a 2d sidescroller
...