C# Class KEngine.KAssetBundleParser

AssetBundle字节解析器
ファイルを表示 Open project: mr-kelly/KEngine Class Usage Examples

Public Properties

Property Type Description
Bundle UnityEngine.AssetBundle
BundleBytesFilter Func
IsFinished bool
Mode CAssetBundleParserMode
RelativePath string

Public Methods

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

Private Methods

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

Method Details

Dispose() public method

public Dispose ( bool unloadAllAssets ) : void
unloadAllAssets bool
return void

KAssetBundleParser() public method

public KAssetBundleParser ( string relativePath, byte bytes, Action callback = null ) : System
relativePath string
bytes byte
callback Action
return System

Property Details

Bundle public_oe property

public AssetBundle,UnityEngine Bundle
return UnityEngine.AssetBundle

BundleBytesFilter public_oe static_oe property

public static Func BundleBytesFilter
return Func

IsFinished public_oe property

public bool IsFinished
return bool

Mode public_oe static_oe property

是异步解析,还是同步解析
public static CAssetBundleParserMode Mode
return CAssetBundleParserMode

RelativePath public_oe property

public string RelativePath
return string