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

0 支持
Wwise callbacks exclusively return gameObject IDs rather than actual gameObject references. Many functions outside of the Wwise world only use gameObject references and cannot use object ID. I see several different ways of finding an ID from a either a gameObject or it's name as a string, but I see absolutely none for going the other way in the process.

Am I missing something here?
Justin S. (120 ポイント) General Discussion

回答 1

0 支持
You can hold a dictionary with gameObjectID as key and the game object reference as value in your game's audio manager. When you get the gameObjectID from callback, try to find the actual GameObject from the dictionary.
Victor L. (310 ポイント)
...