EntSoundEffect

Sound Effect
Plays audio clip assets

ID: EntSoundEffect
Base Type: Entity Component

Values

NameTypeDescription
PausedBool Variable
AudioclipAudioclip Variable
VolumeNumber Variablex
LoopBool Variable
PitchNumber VariableDefaults to 1
Play2dBool VariableWill set sound to always play the same volume regardless of distance
Linear Roll OffBool VariableSound will roll off linear rather than logarithmic - so its louder from far away

Methods

NameDescription
Preview Sound
Play Once()

Properties

NameTypeDescription
Play TimeNumber
Is PlayingBool