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

        public void SetAssetReferences(AssetReferences assetReferences)
        {
            this.assetReferences = assetReferences;
            assetInstantiator    = new AssetInstantiator();
        }