Метод | Описание | |
---|---|---|
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 ) : |
public IABResLoader ( AssetBundle ab ) : UnityEngine | ||
ab | AssetBundle | |
Результат | UnityEngine |
public LoadRes ( string resName ) : UnityEngine.Object[] | ||
resName | string | |
Результат | UnityEngine.Object[] |
public UnloadRes ( UnityEngine resObj ) : void | ||
resObj | UnityEngine | |
Результат | void |
public this ( string resName ) : |
||
resName | string | |
Результат |