internal void Initialize(string path, List <string> searchPaths, BundlerContext context) { _path = path; _searchPaths = searchPaths; _assetBundle = null; _createdIndex = s_Indexer++; _context = context; Dependencies = ListPool <BundleLoaderBase> .Get(); }
internal AssetBase(string path, Type type, BundleLoaderBase target, BundlerContext context) { _loader = target; _path = path; _type = type; _context = context; ThrowIfBundleError(); LoadAsset(); }
internal LoadRequest(ModeBase mode, BundlerContext context, string path, BundleLoaderBase bundleLoader) { _path = path; _context = context; _mode = mode; _bundleLoader = bundleLoader; IsDone = _bundleLoader == null; if (!IsDone) { LoadInternal(); } }
internal SceneBase(string path, LoadSceneMode mode, BundlerContext context, BundleLoaderBase bundleLoader = null) { _path = path; _mode = mode; Context = context; _bundleLoader = bundleLoader; _scenePath = _path.Substring(7, _path.Length - 13); // Cut from "Assets/_____.unity" if (_bundleLoader != null && !_bundleLoader.IsDone) { throw new BundleException("Loader hasn't finished!"); } LoadInternal(); Retain(); }
internal ModeBase(BundlerManifest manifest, List <string> searchPaths, BundlerContext context) { _manifest = manifest; _searchPaths = searchPaths; _context = context; }
internal LoadRequestSync(ModeBase mode, BundlerContext context, string path, BundleLoaderBase bundleLoader) : base(mode, context, path, bundleLoader) { }
internal SceneAsync(string path, LoadSceneMode mode, BundlerContext context, BundleLoaderBase loader) : base(path, mode, context, loader) { }
internal EditorSceneAsync(BundlerContext context) { _context = context; }
= new Dictionary <ILoadRequestAsync, Dictionary <Type, IAssetAsync> >(); // Load request <=> Asset typed dict. internal BundleMode(BundlerManifest manifest, List <string> searchPaths, BundlerContext context) : base(manifest, searchPaths, context) { }
internal BundleAssetAsync(string path, Type type, BundleLoaderBase target, BundlerContext context) : base(path, type, target, context) { }
internal ResourceAssetAsync(string assetName, Type type, BundlerContext context) : base(assetName, type, null, context) { }
public AssetDatabaseAsync(BundlerContext context) { _context = context; }