C# Class KEngine.KAssetBundleParser

AssetBundle字节解析器
Afficher le fichier Open project: mr-kelly/KEngine Class Usage Examples

Méthodes publiques

Свойство Type Description
Bundle UnityEngine.AssetBundle
BundleBytesFilter Func
IsFinished bool
Mode CAssetBundleParserMode
RelativePath string

Méthodes publiques

Méthode Description
Dispose ( bool unloadAllAssets ) : void
KAssetBundleParser ( string relativePath, byte bytes, Action callback = null ) : System

Private Methods

Méthode Description
DefaultParseAb ( string relativePath, byte bytes ) : byte[]
DisposeBundle ( ) : void
OnFinish ( AssetBundle bundle ) : void
WaitCreateAssetBundle ( AssetBundleCreateRequest req ) : IEnumerator

Method Details

Dispose() public méthode

public Dispose ( bool unloadAllAssets ) : void
unloadAllAssets bool
Résultat void

KAssetBundleParser() public méthode

public KAssetBundleParser ( string relativePath, byte bytes, Action callback = null ) : System
relativePath string
bytes byte
callback Action
Résultat System

Property Details

Bundle public_oe property

public AssetBundle,UnityEngine Bundle
Résultat UnityEngine.AssetBundle

BundleBytesFilter public_oe static_oe property

public static Func BundleBytesFilter
Résultat Func

IsFinished public_oe property

public bool IsFinished
Résultat bool

Mode public_oe static_oe property

是异步解析,还是同步解析
public static CAssetBundleParserMode Mode
Résultat CAssetBundleParserMode

RelativePath public_oe property

public string RelativePath
Résultat string