Exemplo n.º 1
0
 void OnDestroy()
 {
     if (_fileDic != null)
     {
         _fileDic.Clear();
         _fileDic = null;
     }
     if (_modifiedList != null)
     {
         _modifiedList.Clear();
         _modifiedList = null;
     }
     if (_fileWWW != null)
     {
         _fileWWW.Dispose();
         _fileWWW = null;
     }
     if (_md5WWW != null)
     {
         _md5WWW.Dispose();
         _md5WWW = null;
     }
     if (completeHandler != null)
     {
         completeHandler = null;
     }
     if (progressUpdateHandler != null)
     {
         progressUpdateHandler = null;
     }
 }
Exemplo n.º 2
0
 protected virtual void OnProgressUpdateEvent(ProgressIndicatorArgs e)
 {
     ProgressUpdateHandler?.Invoke(this, e);
 }