예제 #1
0
//		readonly Queue<PendingSceneLoad> _pendingSceneLoads;

        public ZenjectAssetBundleSceneLoader(
            SceneContext sceneRoot,
            ProjectKernel projectKernel,
            AssetBundleInitializer assetBundleInitializer,
            string assetBundleName)
        {
            _projectKernel          = projectKernel;
            _sceneContainer         = sceneRoot.Container;
            _assetBundleInitializer = assetBundleInitializer;
            _assetBundleName        = assetBundleName;
        }
예제 #2
0
            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;
            }