예제 #1
0
        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)));
        }
예제 #2
0
        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)));
        }
예제 #3
0
        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)));
        }
예제 #4
0
        public IAsyncOperation <AssetLoaderRequest> LoadAllAssetsAsync(string rABName, bool bIsSimulate)
        {
            var rRequest = new AssetLoaderRequest(rABName, string.Empty, false, bIsSimulate, true);

            return(rRequest.Start(this.LoadAssetAsync(rRequest)));
        }