C# Class IABResLoader, QFramework

Inheritance: IDisposable
Datei anzeigen Open project: liangxiegame/QFramework Class Usage Examples

Public Methods

Method 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 method

public DebugAllRes ( ) : void
return void

Dispose() public method

销毁
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
return void

IABResLoader() public method

public IABResLoader ( AssetBundle ab ) : UnityEngine
ab AssetBundle
return UnityEngine

LoadRes() public method

public LoadRes ( string resName ) : UnityEngine.Object[]
resName string
return UnityEngine.Object[]

UnloadRes() public method

卸载单个资源
public UnloadRes ( UnityEngine resObj ) : void
resObj UnityEngine
return void

this() public method

public this ( string resName ) : Object
resName string
return UnityEngine.Object