Class jsb.AssetsManager

jsb.AssetsManager is the native AssetsManager for your game resources or scripts. please refer to this document to know how to use it: http://www.cocos2d-x.org/docs/manual/framework/html5/v3/assets-manager/en Only available in JSB

Class Summary
Constructor Attributes Constructor Name and Description
 

Method Summary

Class Detail

jsb.AssetsManager()

Method Detail

  • checkUpdate()
  • {jsb.AssetsManager} create(arg0, arg1)
    Parameters:
    {String} arg0
    {String} arg1
    Returns:
    {jsb.AssetsManager}
  • ctor(arg0, arg1)
    Parameters:
    {String} arg0
    {String} arg1
  • downloadFailedAssets()
  • {jsb.Manifest} getLocalManifest()
    Returns:
    {jsb.Manifest}
  • {jsb.Manifest} getRemoteManifest()
    Returns:
    {jsb.Manifest}
  • {jsb.AssetsManager::State} getState()
    Returns:
    {jsb.AssetsManager::State}
  • {String} getStoragePath()
    Returns:
    {String}
  • update()