Function unload

  • unload the specified asset to free memory

    Parameters

    • asset: object

    Returns boolean

    true if unloaded

    loader

    me.loader.unload({name: "avatar",  type:"image"});