コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持
Hi !

I'm looking for an explanation on how to integrate RTPCs into Unity without using the SDK.

I have an RTPC in my wwise project, but I can't seem to figure out how to access it and use it in Unity. Is there any documention or examples on how to do that within Unity?

 

Thanks!

 

Arnaud
Arnaud B. (310 ポイント) General Discussion

回答 1

0 支持
You will need to set your RTPC from a script, using:

AkSoundEngine.SetRTPCValue("YourRTPC", floatValue, gameObject);

Unfortunately, there is no way of setting an RTPC without writing code.
Benoit S. (Audiokinetic) (16.0k ポイント)
Thanks for the answer.
I'm perfectly fine scripting in unity, in C# and java. But in the unity Wwise Unity Integration help, it's mainly focusing on using the SDK.
Your script line is a very good start for me, so thank you very much ! But I imagine then there are no Unity scripting examples of RTPC usage ?

Thanks again for all the help

Arnaud
You're right, we provide no example of RTPC usage, but we are working on integrating an example in the Wwise Demo Scene in the future.

If you're fine with scripting, you should know that the AkSoundEngine class is simply a C# wrapper for the Wwise SDK, so you can refer to the SDK's documentation for more information. You can also look at the IntegrationDemo sample provided with the SDK for more examples.
Thanks a lot. I managed to get it all working in the end thanks to your help. Onto the next question ! :)
...