C# Class IABLoader, QFramework

Show file Open project: liangxiegame/QFramework Class Usage Examples

Public Methods

Method Description
CommonLoad ( ) : IEnumerator
DebugerLoader ( ) : void
Dispose ( ) : void

Releases all resource used by the IABLoader object.

Call Dispose when you are finished using the IABLoader. The Dispose method leaves the IABLoader in an unusable state. After calling Dispose, you must release all references to the IABLoader so the garbage collector can reclaim the memory that the IABLoader was occupying.

GetMultiRes ( string name ) : Object[]

获取多个资源

GetRes ( string name ) : Object

获取单个资源

IABLoader ( LoaderProgress loadProgress, LoadFinish, loadFinish ) : UnityEngine
LoadRes ( string path ) : void
SetABName ( string abName ) : void
UnLoadAssetRes ( Object tmpObj ) : void

Method Details

CommonLoad() public method

public CommonLoad ( ) : IEnumerator
return IEnumerator

DebugerLoader() public method

public DebugerLoader ( ) : void
return void

Dispose() public method

Releases all resource used by the IABLoader object.
Call Dispose when you are finished using the IABLoader. The Dispose method leaves the IABLoader in an unusable state. After calling Dispose, you must release all references to the IABLoader so the garbage collector can reclaim the memory that the IABLoader was occupying.
public Dispose ( ) : void
return void

GetMultiRes() public method

获取多个资源
public GetMultiRes ( string name ) : Object[]
name string
return Object[]

GetRes() public method

获取单个资源
public GetRes ( string name ) : Object
name string
return Object

IABLoader() public method

public IABLoader ( LoaderProgress loadProgress, LoadFinish, loadFinish ) : UnityEngine
loadProgress LoaderProgress
loadFinish LoadFinish,
return UnityEngine

LoadRes() public method

public LoadRes ( string path ) : void
path string
return void

SetABName() public method

public SetABName ( string abName ) : void
abName string
return void

UnLoadAssetRes() public method

public UnLoadAssetRes ( Object tmpObj ) : void
tmpObj Object
return void