Play One-Shot Sound

STD Library
Lado del cliente
Solo en PC

Play a one-shot sound effect with adjustable volume

Declaración

func PlayOneShotSound(resource AudioID, volume float)
go

Parámetros

Entrada

Nombre Tipo Descripción
Resource AudioID The sound effect resource ID to be played
Volume Float The playback volume for the sound effect, ranging from 0 to 1.