Example #1
0
 private void Start()
 {
     if (GameConfig.gameModel == GameModel.Editor)
     {
         playinged  = true;
         canStartUp = true;
         Ready();
         return;
     }
     player.loopPointReached += new VideoPlayer.EventHandler(playerStop);
     player.Play();
     downloadCount  = 0;
     completeCount  = 0;
     isWriteMd5File = false;
     new DownloadVersion((Version v) => {
         version = v;
         md5File = new DownloadMd5File(version, GameConfig.default_module, onMd5File);
     });
 }
 public CheckForUpdate(string module, Action <CheckForUpdate, Queue <DownloadConfig> > callback)
 {
     _md5File = new DownloadMd5File(VersionHelp.version, module, (Queue <DownloadConfig> list) => {
         callback(this, list);
     });
 }