Exemple #1
0
 protected override void OnRelease()
 {
     base.OnRelease();
     if (_zipFile != null)
     {
         _zipFile.Close();
         _zipFile = null;
     }
     _provider.Unload(this);
 }
 protected override void OnRelease()
 {
     base.OnRelease();
     if (_assetBundle != null)
     {
         _assetBundle.Unload(true);
         _assetBundle = null;
     }
     if (_stream != null)
     {
         _stream.Close();
         _stream.Dispose();
         _stream = null;
     }
     _provider.Unload(this);
 }
Exemple #3
0
 protected override void OnRelease()
 {
     base.OnRelease();
     _fileListManifest = null;
     _provider.Unload(this);
 }