protected override void Awake() { base.Awake(); assetLoader = AssetLoader.GetAssetLoader(editorMode, assetBundlesFolder); assetReferences = new AssetReferences(); assetPool = AssetPool.Instance; assetPool.SetAssetReferences(assetReferences); assetInstantiator = new AssetInstantiator(); LoadGameAssetsDatabase(); }
//Dictionary<string, GameObject> prefabReferences = new Dictionary<string, GameObject>(); //Dictionary<Type, AssetPool> assetPools; public void SetAssetReferences(AssetReferences assetReferences) { this.assetReferences = assetReferences; assetInstantiator = new AssetInstantiator(); }