C# 클래스 Hugula.Update.Download

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: tenvick/hugula 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all resource used by the Hugula.Update.Download object.

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

Init ( string hosts, int maxLoading, System oneDone, System allDone ) : void

Load ( string url, string path, object args ) : void

비공개 메소드들

메소드 설명
CheckLoad ( ReqInfo req ) : bool

判断加载

GetFree ( ) : WebDownload

Gets the free.

Load ( ReqInfo req ) : void

加入加载队列

OnDestroy ( ) : void
OnDownloadFileCompleted ( object sender, System e ) : void
OnDownloadProgressChanged ( object sender, DownloadProgressChangedEventArgs e ) : void
OnFileDown ( ReqInfo req, bool isError ) : void
Update ( ) : void

메소드 상세

Dispose() 공개 정적인 메소드

Releases all resource used by the Hugula.Update.Download object.
Call Dispose when you are finished using the Hugula.Update.Download. The Dispose method leaves the Hugula.Update.Download in an unusable state. After calling Dispose, you must release all references to the Hugula.Update.Download so the garbage collector can reclaim the memory that the Hugula.Update.Download was occupying.
public static Dispose ( ) : void
리턴 void

Init() 공개 메소드

public Init ( string hosts, int maxLoading, System oneDone, System allDone ) : void
hosts string
maxLoading int
oneDone System
allDone System
리턴 void

Load() 공개 메소드

public Load ( string url, string path, object args ) : void
url string
path string
args object
리턴 void