C# Class ResUpdate

Inheritance: MonoBehaviour
Show file Open project: LingJiJian/UnityHotFixDemo Class Usage Examples

Public Properties

Property Type Description
LOCAL_RES_PATH string
LOCAL_RES_URL string
SERVER_RES_URL string
VERSION_FILE string
demo GameObject

Protected Methods

Method Description
checkUpdate ( ) : void

Private Methods

Method Description
CompareVersion ( ) : void
DownLoad ( string url, HandleFinishDownload finishFun ) : IEnumerator
DownLoadRes ( ) : void
ParseVersionFile ( string content, string>.Dictionary dict ) : void
ReplaceLocalRes ( string fileName, byte data ) : void
Show ( ) : IEnumerator
Start ( ) : void
UpdateLocalVersionFile ( ) : void

Method Details

checkUpdate() protected method

protected checkUpdate ( ) : void
return void

Property Details

LOCAL_RES_PATH public static property

public static string LOCAL_RES_PATH
return string

LOCAL_RES_URL public static property

public static string LOCAL_RES_URL
return string

SERVER_RES_URL public static property

public static string SERVER_RES_URL
return string

VERSION_FILE public static property

public static string VERSION_FILE
return string

demo public property

public GameObject demo
return GameObject