Function
loadMusic
(name: string | null, url: string): voidLike loadSound(), but the audio is streamed and won't block loading. Use this for big audio files like background music.
param name- The asset name.
param url- The resource url.
loadMusic("shoot", "/music/bossfight.mp3");returns The asset data.
since v3001.0
group Assets