版本
This component represents a sound emitter in your scene. It will track its position and other game syncs such as Switches, RTPC and environment values. You can add this to any object that will emit sound. Note that if it is not present, Wwise will add it automatically, with the default values, to any Unity Game Object that is passed to Wwise. More...
Public Member Functions | |
Vector3 | GetPosition () |
Public Attributes | |
AkGameObjPositionOffsetData | m_positionOffsetData = null |
When not set to null, the emitter position will be offset relative to the Game Object position by the Position Offset. |
|
bool | isEnvironmentAware = true |
Is this object affected by Environment changes? Set to false if not affected in order to save some useless calls. Default is true. |
|
int | listenerMask = 1 |
Listener 0 by default. |
This component represents a sound emitter in your scene. It will track its position and other game syncs such as Switches, RTPC and environment values. You can add this to any object that will emit sound. Note that if it is not present, Wwise will add it automatically, with the default values, to any Unity Game Object that is passed to Wwise.