메소드 | 설명 | |
---|---|---|
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[] |