프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Instance | |||
NAME | string | ||
enableLog | bool | ||
onProgress | LoadProgressHandler | ||
pathResolver | |||
version | System.Version |
메소드 | 설명 | |
---|---|---|
AssetBundleManager ( ) : System | ||
GetAssetBundleFullName ( string shortFileName ) : string |
通过ShortName获取FullName
|
|
GetBundleInfo ( string key ) : |
||
Init ( System.Action callback ) : void | ||
Init ( Stream depStream, System.Action callback ) : void | ||
Load ( string path, LoadAssetCompleteHandler handler = null ) : AssetBundleLoader |
用默认优先级为0的值加载
|
|
Load ( string path, int prority, LoadAssetCompleteHandler handler = null ) : AssetBundleLoader |
通过一个路径加载ab
|
|
RemoveAll ( ) : void | ||
RemoveBundle ( string key ) : void | ||
UnloadUnusedBundle ( bool force = false ) : void |
卸载不用的
|
메소드 | 설명 | |
---|---|---|
Awake ( ) : void | ||
CreateLoader ( ) : AssetBundleLoader |
메소드 | 설명 | |
---|---|---|
CheckNewLoaders ( ) : void | ||
CheckQueue ( ) : void | ||
CheckUnusedBundle ( ) : void | ||
CreateBundleInfo ( AssetBundleLoader loader, |
||
CreateLoader ( string abFileName, string oriName = null ) : AssetBundleLoader | ||
Enqueue ( AssetBundleLoader loader ) : void |
请求加载Bundle,这里统一分配加载时机,防止加载太卡
|
|
InitComplete ( ) : void | ||
LoadBundle ( AssetBundleLoader loader ) : void | ||
LoadComplete ( AssetBundleLoader loader ) : void | ||
LoadDepInfo ( ) : IEnumerator | ||
LoadError ( AssetBundleLoader loader ) : void | ||
OnDestroy ( ) : void | ||
RemoveBundleInfo ( |
||
Update ( ) : void |
public GetAssetBundleFullName ( string shortFileName ) : string | ||
shortFileName | string | |
리턴 | string |
public GetBundleInfo ( string key ) : |
||
key | string | |
리턴 |
public Init ( Stream depStream, System.Action callback ) : void | ||
depStream | Stream | |
callback | System.Action | |
리턴 | void |
public Load ( string path, LoadAssetCompleteHandler handler = null ) : AssetBundleLoader | ||
path | string | 路径 |
handler | LoadAssetCompleteHandler | 回调 |
리턴 | AssetBundleLoader |
public Load ( string path, int prority, LoadAssetCompleteHandler handler = null ) : AssetBundleLoader | ||
path | string | 路径 |
prority | int | 优先级 |
handler | LoadAssetCompleteHandler | 回调 |
리턴 | AssetBundleLoader |
public UnloadUnusedBundle ( bool force = false ) : void | ||
force | bool | |
리턴 | void |
public static AssetBundleManager,Tangzx.ABSystem Instance | ||
리턴 |
public AssetBundlePathResolver,Tangzx.ABSystem pathResolver | ||
리턴 |