C# Class ResUpdate

Inheritance: MonoBehaviour
显示文件 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_oe static_oe property

public static string LOCAL_RES_PATH
return string

LOCAL_RES_URL public_oe static_oe property

public static string LOCAL_RES_URL
return string

SERVER_RES_URL public_oe static_oe property

public static string SERVER_RES_URL
return string

VERSION_FILE public_oe static_oe property

public static string VERSION_FILE
return string

demo public_oe property

public GameObject demo
return GameObject