loader.unload

unload(asset: loader.Asset) → {boolean}

unload the specified asset to free memory

me.loader.unload({name: "avatar",  type:"image"});
Parameters:
Name Type Description
asset loader.Asset
Returns:
Type Description
boolean

true if unloaded

Powered by webdoc!