예제 #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);
 }
예제 #2
0
 void UpdateAvailableCallback(object sender, UpdateAvailableEventArgs e)
 {
     Updater.Instance.UpdateAvailable -= UpdateAvailableCallback;
     Updater.Instance.DownloadUpdate (args.First ());
 }