Property | Type | Description | |
---|---|---|---|
SpatialRolloff | |||
activeTime | float | ||
altVolDest | float | ||
audioEvent | AudioEvent | ||
cancelEvent | bool | ||
currentFade | float | ||
isActiveTimeComplete | bool | ||
isStoppable | bool | ||
playingAlt | bool | ||
volDest | float |
Method | Description | |
---|---|---|
ActiveEvent ( AudioEvent audioEvent, |
||
CreateFlatSpatialRolloffCurve ( ) : void |
Creates a flat animation curve to negate Unity's distance attenuation when using Spatial Sound
|
|
Dispose ( ) : void | ||
SetPitch ( float newPitch ) : void |
Sets the pitch value for the primary source.
|
Method | Description | |
---|---|---|
SetSourceProperties ( ) : void |
Set the volume, spatialization, etc., on our AudioSources to match the settings on the event to play.
|
public ActiveEvent ( AudioEvent audioEvent, |
||
audioEvent | AudioEvent | |
emitter | ||
primarySource | ||
secondarySource | ||
messageOnAudioEnd | string | |
return | System |
public static CreateFlatSpatialRolloffCurve ( ) : void | ||
return | void |
public SetPitch ( float newPitch ) : void | ||
newPitch | float | The value to set the pitch, between 0 (exclusive) and 3 (inclusive). |
return | void |
public static AnimationCurve,UnityEngine SpatialRolloff | ||
return |