Class: BackgroundLoader

assets.BackgroundLoader

Quietly Loads assets in the background.

new assets.BackgroundLoader (loader, verbose)

Name Type Default Description
loader assets.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 assets.ResolvedAsset[]

assets to load