C# Class KEngine.AssetBundleLoader

Inheritance: AbstractResourceLoader
Afficher le fichier Open project: mr-kelly/KEngine Class Usage Examples

Méthodes publiques

Свойство Type Description
AssetBundlerLoaderErrorEvent Action
NewAssetBundleLoaderEvent Action

Méthodes publiques

Méthode Description
Load ( string url, CAssetBundleLoaderDelegate callback = null, LoaderMode loaderMode = LoaderMode.Async ) : AssetBundleLoader

AssetBundle读取原字节目录

Release ( ) : void

Méthodes protégées

Méthode Description
DoDispose ( ) : void
Init ( string url ) : void
OnFinish ( object resultObj ) : void

Private Methods

Méthode Description
LoadAssetBundle ( string relativeUrl ) : IEnumerator
PreLoadManifest ( ) : void

Unity5下,使用manifest进行AssetBundle的加载

Method Details

DoDispose() protected méthode

protected DoDispose ( ) : void
Résultat void

Init() protected méthode

protected Init ( string url ) : void
url string
Résultat void

Load() public static méthode

AssetBundle读取原字节目录
public static Load ( string url, CAssetBundleLoaderDelegate callback = null, LoaderMode loaderMode = LoaderMode.Async ) : AssetBundleLoader
url string
callback CAssetBundleLoaderDelegate
loaderMode LoaderMode
Résultat AssetBundleLoader

OnFinish() protected méthode

protected OnFinish ( object resultObj ) : void
resultObj object
Résultat void

Release() public méthode

public Release ( ) : void
Résultat void

Property Details

AssetBundlerLoaderErrorEvent public_oe static_oe property

public static Action AssetBundlerLoaderErrorEvent
Résultat Action

NewAssetBundleLoaderEvent public_oe static_oe property

public static Action NewAssetBundleLoaderEvent
Résultat Action