Example #1
0
 private SceneLauncher(
     ZenjectAssetBundleSceneLoader zenjectAssetBundleSceneLoader,
     ZenjectSceneLoader zenjectSceneLoader,
     TickableManager tickableManager,
     PreloaderController preloaderController)
 {
     this.zenjectAssetBundleSceneLoader = zenjectAssetBundleSceneLoader;
     this.zenjectSceneLoader            = zenjectSceneLoader;
     this.tickableManager     = tickableManager;
     this.preloaderController = preloaderController;
 }
Example #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;
            }