C# Class IABResLoader, QFramework

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

Méthodes publiques

Méthode Description
DebugAllRes ( ) : void
Dispose ( ) : void

销毁

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

IABResLoader ( AssetBundle ab ) : UnityEngine
LoadRes ( string resName ) : UnityEngine.Object[]
UnloadRes ( UnityEngine resObj ) : void

卸载单个资源

this ( string resName ) : Object

Method Details

DebugAllRes() public méthode

public DebugAllRes ( ) : void
Résultat void

Dispose() public méthode

销毁
Call Dispose when you are finished using the IABResLoader. The Dispose method leaves the IABResLoader in an unusable state. After calling Dispose, you must release all references to the IABResLoader so the garbage collector can reclaim the memory that the IABResLoader was occupying.
public Dispose ( ) : void
Résultat void

IABResLoader() public méthode

public IABResLoader ( AssetBundle ab ) : UnityEngine
ab AssetBundle
Résultat UnityEngine

LoadRes() public méthode

public LoadRes ( string resName ) : UnityEngine.Object[]
resName string
Résultat UnityEngine.Object[]

UnloadRes() public méthode

卸载单个资源
public UnloadRes ( UnityEngine resObj ) : void
resObj UnityEngine
Résultat void

this() public méthode

public this ( string resName ) : Object
resName string
Résultat UnityEngine.Object