C# Class IABLoader, QFramework

Afficher le fichier Open project: liangxiegame/QFramework Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public CommonLoad ( ) : IEnumerator
Résultat IEnumerator

DebugerLoader() public méthode

public DebugerLoader ( ) : void
Résultat void

Dispose() public méthode

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
Résultat void

GetMultiRes() public méthode

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

GetRes() public méthode

获取单个资源
public GetRes ( string name ) : Object
name string
Résultat Object

IABLoader() public méthode

public IABLoader ( LoaderProgress loadProgress, LoadFinish, loadFinish ) : UnityEngine
loadProgress LoaderProgress
loadFinish LoadFinish,
Résultat UnityEngine

LoadRes() public méthode

public LoadRes ( string path ) : void
path string
Résultat void

SetABName() public méthode

public SetABName ( string abName ) : void
abName string
Résultat void

UnLoadAssetRes() public méthode

public UnLoadAssetRes ( Object tmpObj ) : void
tmpObj Object
Résultat void