public IAsyncOperation <AssetLoaderRequest> LoadScene(string rAssetbundleName, string rScenePath) { if (!this.LoadedScenebundles.Contains(rAssetbundleName)) { this.LoadedScenebundles.Add(rAssetbundleName); } var rSceneRequest = new AssetLoaderRequest(rAssetbundleName, rScenePath, true, false, false); return(rSceneRequest.Start(LoadAsset_Async(rSceneRequest))); }
public IAsyncOperation <AssetLoaderRequest> LoadAllAssets(string rAssetbundleName, bool bIsSimulate) { if (!this.LoadedAssetbundles.Contains(rAssetbundleName)) { this.LoadedAssetbundles.Add(rAssetbundleName); } var rRequest = new AssetLoaderRequest(rAssetbundleName, "AllAssets", false, bIsSimulate, true); return(rRequest.Start(LoadAsset_Async(rRequest))); }
public IAsyncOperation <AssetLoaderRequest> LoadSceneAsync(string rABName, string rAssetName, LoadSceneMode rLoadSceneMode, bool bIsSimulate) { var rRequest = new AssetLoaderRequest(rABName, rAssetName, rLoadSceneMode, false, bIsSimulate); return(rRequest.Start(this.LoadAssetAsync(rRequest))); }
public IAsyncOperation <AssetLoaderRequest> LoadAllAssetsAsync(string rABName, bool bIsSimulate) { var rRequest = new AssetLoaderRequest(rABName, string.Empty, false, bIsSimulate, true); return(rRequest.Start(this.LoadAssetAsync(rRequest))); }