Function
load
(l: Promise<T>): Asset<T>Add a new loader to wait for before starting the game.
param l- The loader to wait for.
load(new Promise((resolve, reject) => {
// anything you want to do that stalls the game in loading state
resolve("ok")
}))returns The asset data.
since v3000.0
group Assets