Sound Effect

SoundEffect

STD Library
Component
Combine:
Transform
Playable
Loopable

The sound effect entity represents a sound effect that is being played

Properties

Name Type Description Script Name
Resource SoundEffect Type The resource path. Empty by default. Resource
Times played Int The number of times played. Default is 1. RepeatTimes
Volume Int The sound volume. Default is 50. Volume
Max. Distance Float The maximum distance MaxDistance
Min. Distance Float The minimum distance MinDistance
Is 3D Bool Whether it is a 3D music Is3D
Priority Int Priority Priority
Start Time Float Time of start StartTime
Is Playing Int Read Only
A player’s status: active, knocked down, or eliminated
IsPlaying