Beispiel #1
0
        internal static AssetBundle LoadFromStreamInternal(Stream stream, uint crc)
        {
            uint managedReadBufferSize = 0u;

            return(AssetBundle.LoadFromStreamInternal(stream, crc, managedReadBufferSize));
        }
Beispiel #2
0
 public static AssetBundle LoadFromStream(Stream stream, [UnityEngine.Internal.DefaultValue("0")] uint crc, [UnityEngine.Internal.DefaultValue("0")] uint managedReadBufferSize)
 {
     AssetBundle.ValidateLoadFromStream(stream);
     return(AssetBundle.LoadFromStreamInternal(stream, crc, managedReadBufferSize));
 }
Beispiel #3
0
 public static AssetBundle LoadFromStream(Stream stream, uint crc, uint managedReadBufferSize)
 {
     AssetBundle.ValidateLoadFromStream(stream);
     return(AssetBundle.LoadFromStreamInternal(stream, crc, managedReadBufferSize));
 }
Beispiel #4
0
 public static AssetBundle LoadFromStream(Stream stream)
 {
     AssetBundle.ValidateLoadFromStream(stream);
     return(AssetBundle.LoadFromStreamInternal(stream, 0u, 0u));
 }
Beispiel #5
0
 public static AssetBundle LoadFromStream(Stream stream, [DefaultValue("0")] uint crc, [DefaultValue("0")] uint managedReadBufferSize)
 {
     ManagedStreamHelpers.ValidateLoadFromStream(stream);
     return(AssetBundle.LoadFromStreamInternal(stream, crc, managedReadBufferSize));
 }