// readonly Queue<PendingSceneLoad> _pendingSceneLoads; public ZenjectAssetBundleSceneLoader( SceneContext sceneRoot, ProjectKernel projectKernel, AssetBundleInitializer assetBundleInitializer, string assetBundleName) { _projectKernel = projectKernel; _sceneContainer = sceneRoot.Container; _assetBundleInitializer = assetBundleInitializer; _assetBundleName = assetBundleName; }
public PendingLoadOperation( AssetBundleInitializer assetBundleInitializer, ZenjectAssetBundleSceneLoader sceneLoader, string sceneName, LoadSceneMode loadMode, Action <DiContainer> extraBindings, LoadSceneRelationship containerMode) { this.assetBundleInitializer = assetBundleInitializer; this.sceneLoader = sceneLoader; this.sceneName = sceneName; this.loadMode = loadMode; this.extraBindings = extraBindings; this.containerMode = containerMode; assetBundleInitializer.Initialized += AssetBundleInitializerInitialized; }