static public IObservable <Unit> LoadLevelAdditiveAsObservable(string assetBundleName, string levelName) { LoadAssetBundle(assetBundleName); var operation = new AssetBundleLoadLevelOperation(assetBundleName, levelName, true); InProgressOperations.Add(operation); return(operation.ToObservable()); }
static public AsyncLoadOperation LoadLevelAdditiveAsync(string assetBundleName, string levelName) { LoadAssetBundle(assetBundleName); var operation = new AssetBundleLoadLevelOperation(assetBundleName, levelName, true); InProgressOperations.Add(operation); return(operation); }