静态auto静态playback静态use静态music静态music静态muted静态sound静态sound静态findThe URL of the sound file.
The SoundChannel object corresponding to the URL, or null if not found.
静态playThe URL of the sound file.
可选loops: numberThe number of times to loop the music. 0 means infinite loop. Default is 1.
可选complete: ((success: boolean) => void)The callback function when the music playback is complete. The result parameter is true if playback is completed, false/undefined if triggered by stop.
可选startTime: numberThe start time of the music playback. In seconds.
A SoundChannel object, through which you can control the sound and get sound information.
可选loops: number可选complete: Handler可选startTime: number静态playThe URL of the sound file.
可选loops: numberThe number of times to loop the sound. 0 means infinite loop.
可选complete: (() => void)The callback function when the sound playback is complete.
可选startTime: numberThe start time of the sound playback. In seconds.
A SoundChannel object, through which you can control the sound and get sound information.
可选loops: number可选complete: Handler可选startTime: number可选loops: number可选complete: Handler可选soundClass: (new () => any)可选startTime: number静态set静态set静态stop静态stop静态stop静态stop
En
The
SoundManageris a sound management class. It provides control methods for playing background music and sound effects.Zh
SoundManager是一个声音管理类。提供了对背景音乐、音效的播放控制方法。Blueprintable