YaSoundAPI
YaSoundAPI
is an interface that controls the way a 2D or 3D audio clip is played.Functions
SoundEntity YaSoundAPI.Instance(YaEntity entity)
ReturnsSoundEntity
Creates a SoundEntity instance.entity
If this entity containsYaPlayableContainerComponent and an audioClip exists in this entity, the audioClip will be played.