예제 #1
0
 IObservable <Object> LoadCore(AssetEntry entry)
 {
     return(WhenManifestLoaded().ContinueWith(_ =>
                                              GetAssetBundleWithDependencies(entry.BundleEntry).ContinueWith(reference =>
                                                                                                             entry.LoadFrom(reference.Bundle).Finally(reference.Dispose))));
 }
예제 #2
0
 public AssetNotFoundException(AssetEntry entry)
 {
     AssetEntry  = entry;
     BundleEntry = entry.BundleEntry;
     Message     = $"Asset not found. {entry}";
 }