menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持
I try to use AkState to implement BGM in my unity project.

I create an empty unity gameobject into scene under MainCamera , then drag a state from wwise picker onto the gameobjec.

The trigger on value is Start, state group and value was the pick up one.

When I start to play the scene , it comes no sounds . I also tried to use aksoundengine.registergameobject for the targetObj or call the aksoundengine.setstate(gourpid, stateid) in the c# script at runtime . but it seem doesn't worl.

 

The AK terminator and initializer works fine,  AkSoundEngine.LoadBank and AkSoundEngine.PostEvent works fine too.

Is there anything I need to check before I use "states" ? or Cound you support some sample project for unity using states ?
 

My unity version is 4.3.2f  , wwise version is 2013.2.9 build 4872

Thanks.

Leo.
閉鎖(理由): resolved.
Leo H. (160 ポイント) General Discussion
Leo H. 閉鎖

回答 1

0 支持
 
ベストアンサー
I suggest you connect the Wwise Profiler to your game to know what's going on.  It should give you more info.
Mathieu J. (Audiokinetic) (7.1k ポイント)
Leo H. 選択
thanks, it seems that I didn't generate the bank correctly.
...