void BeginUpdateResource() { AssetsUpdateManager.getInstance().Check (mstrRemoteMD5Url, // "file:///D:/StreamingAssets/md5filelist.txt", OnAssetsUpdateCmp, OnAssetsUpdateProgress ); }
void CheckVersions(string url) { AssetsUpdateManager.getInstance().StartCheck ( url, // "file:///D:/StreamingAssets/md5filelist.txt", (string[] arrayUpdatePath) => { if (arrayUpdatePath != null && arrayUpdatePath.Length > 0) { Facade.SendNotification(NotificationType.NetWorkCheck); } else { // Facade.SendNotification(NotificationType.V2V_BeginUpdateResource); Facade.SendNotification(NotificationType.M2M_ResourceUpdateOver); } } ); }