EntSoundEffect
Sound Effect
Plays audio clip assets
ID: EntSoundEffect
Base Type: Entity Component
Values
Name | Type | Description |
---|---|---|
Paused | Bool Variable | |
Audioclip | Audioclip Variable | |
Volume | Number Variable | x |
Loop | Bool Variable | |
Pitch | Number Variable | Defaults to 1 |
Play2d | Bool Variable | Will set sound to always play the same volume regardless of distance |
Linear Roll Off | Bool Variable | Sound will roll off linear rather than logarithmic - so its louder from far away |
Methods
Name | Description |
---|---|
Preview Sound | |
Play Once() |
Properties
Name | Type | Description |
---|---|---|
Play Time | Number | |
Is Playing | Bool |
Updated almost 2 years ago