C# Class AssetBundleLoader, HGFramework

Inheritance: MonoBehaviour
Mostra file Open project: zhutaorun/HGFramework Class Usage Examples

Public Methods

Method Description
AssetBundleLoader ( string resName, LoadResDoneCallback loadResDone ) : UnityEngine
CheckDependences ( ) : void

检查依赖资源是否已经加载完成,如果没有,则重新加载

GetResObj ( ) : Object

只有"直接资源"才有必要调用这个接口,获取资源对象

IsDone ( ) : bool
Unload ( ) : void

Method Details

AssetBundleLoader() public method

public AssetBundleLoader ( string resName, LoadResDoneCallback loadResDone ) : UnityEngine
resName string
loadResDone LoadResDoneCallback
return UnityEngine

CheckDependences() public method

检查依赖资源是否已经加载完成,如果没有,则重新加载
public CheckDependences ( ) : void
return void

GetResObj() public method

只有"直接资源"才有必要调用这个接口,获取资源对象
public GetResObj ( ) : Object
return Object

IsDone() public method

public IsDone ( ) : bool
return bool

Unload() public method

public Unload ( ) : void
return void