Example #1
0
 public LoadAssetBundleRequest(AssetBundleInfo info)
 {
     bundleInfo = info;
 }
Example #2
0
 public HttpLoadAssetBundleRequest(string url, AssetBundleInfo info) : base(info)
 {
     webRequest = UnityWebRequestAssetBundle.GetAssetBundle(url, info.Hash, 0);
     webRequest.SendWebRequest();
 }
 public FileLoadAssetBundleRequest(string path, AssetBundleInfo info) : base(info)
 {
     createRequest = AssetBundle.LoadFromFileAsync(path);
 }