버전

menu_open
Wwise Unity Integration Documentation
인스펙터에서 AkGameObj 사용하기

The AkGameObj component acts as a bridge between Unity game objects and Wwise objects. You can use an AkGameObj to track the position of a sound object in Unity and use it for game syncs such as Switches, RTPCs, and environmental values.

Any object that is passed to Wwise, including any object with an AkAudioListener, requires an AkGameObj. When you add such a component to a Unity Game Object in the Inspector, an AkGameObj is automatically added as well. All objects that have AkGameObj components are registered in Wwise and then unregistered according to the lifetime of the Unity object.

When using game-defined auxiliary sends, ensure that both the emitter (which has both AkGameObj and AkEvent components) and the AkEnvironment components have colliders. The colliders are necessary for the AkEnvironment component to detect the emitter game object and for its signal to be sent to the corresponding Auxiliary Bus.

  • Apply Position Offset: Applies a second Transform to the game object, to specify an audio calculation position different from the game object's actual position.
    • Position Offset: Moves the position of the game object's second Transform according to game units entered in each of the X (left-right), Y (up-down), and Z (front-back) fields.
    • Hide Main Transform: Removes the original Transform from view, so only the offset one is visible.
  • Environment Aware: Determines whether the audio of the game object is affected by the environment, rooms, and portals. When enabled, the AkGameObj must have a Rigidbody. This option only has an effect if selected before the scene plays.
    • Add Rigidbody: Creates a Rigidbody component on the GameObject.
  • Use Default Listeners: Default Listeners are typically applied to central objects, such as a camera. 그리고 이 리스너는 모든 것을 듣습니다.
    • Add Listener: Specifies another listener entry. Click to open the Select AkAudioListener dialog, then select a game object that has an AkAudioListener.
      참고:반드시 리스너가 있어야 합니다. If you do not use the default listeners or specify another one, ensure that Automatically add Listener to Main Camera is selected in the the Wwise Integration settings (see Adjusting Unity Editor Settings).
참고

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요