C# 클래스 IABResLoader, QFramework

상속: IDisposable
파일 보기 프로젝트 열기: liangxiegame/QFramework 1 사용 예제들

공개 메소드들

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

메소드 상세

DebugAllRes() 공개 메소드

public DebugAllRes ( ) : void
리턴 void

Dispose() 공개 메소드

销毁
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
리턴 void

IABResLoader() 공개 메소드

public IABResLoader ( AssetBundle ab ) : UnityEngine
ab AssetBundle
리턴 UnityEngine

LoadRes() 공개 메소드

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

UnloadRes() 공개 메소드

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

this() 공개 메소드

public this ( string resName ) : Object
resName string
리턴 UnityEngine.Object