Class: BackgroundLoader

BackgroundLoader

Quietly Loads assets in the background.

new BackgroundLoader (loader, verbose)

Name Type Default Description
loader Loader
verbose boolean false

should the loader log to the console

Members

active boolean

Activate/Deactivate the loading. If set to true then it will immediately continue to load the next asset.

verbose boolean

Should the loader log to the console.

Methods

add (assetUrls) void

Adds an array of assets to load.

Name Type Description
assetUrls ResolvedAsset[]

assets to load