// stream 生命周期将被 UAssetBundleBundle 托管
 public override void Load(Stream stream)
 {
     if (_stream == null && _provider != null)
     {
         _stream = stream;
         _provider._LoadBundle(_Load());
     }
 }
예제 #2
0
 // stream 生命周期将被 UAssetBundleBundle 托管
 public override void Load(Stream stream)
 {
     if (_stream == null && _provider != null)
     {
         _stream = stream;
         if ((_hints & EAssetHints.Synchronized) == 0)
         {
             _provider._LoadBundle(_LoadAsync());
         }
         else
         {
             _LoadSync();
         }
     }
 }