Example #1
0
 void UpdateAvailableCallback(object sender, UpdateAvailableEventArgs e)
 {
     Updater.Instance.UpdateAvailable -= UpdateAvailableCallback;
     NetworkManager.Instance.Notify (src, "Update available.");
     NetworkManager.Instance.Notify (src, "[CurVer] {0}", e.currentVersion);
     NetworkManager.Instance.Notify (src, "[NewVer] {0}", e.newVersion);
 }
Example #2
0
 void UpdateAvailableCallback(object sender, UpdateAvailableEventArgs e)
 {
     Updater.Instance.UpdateAvailable -= UpdateAvailableCallback;
     Updater.Instance.DownloadUpdate (args.First ());
 }