Class that stores the settings to play an audio. More...
Public Types | |
enum | PlayConditions { PlayAlways , PlayIfNotPlaying , InterruptAndPlay } |
Helper enum to set conditions on playback. More... | |
enum | StopStyle { HardStop , FadeStop } |
Helper enum to set up how the sound should be stopped. More... |
Data Fields | |
EventReference | eventReference |
EmitterGameEvent | eventPlayTrigger = EmitterGameEvent.None |
EmitterGameEvent | eventStopTrigger = EmitterGameEvent.None |
PlayConditions | playConditions = PlayConditions.PlayAlways |
float | playCooldown = 0f |
Class that stores the settings to play an audio.
EmitterGameEvent AudioEmitterSettings.eventPlayTrigger = EmitterGameEvent.None |
EventReference AudioEmitterSettings.eventReference |
EmitterGameEvent AudioEmitterSettings.eventStopTrigger = EmitterGameEvent.None |
PlayConditions AudioEmitterSettings.playConditions = PlayConditions.PlayAlways |
float AudioEmitterSettings.playCooldown = 0f |