static AssetClassFactory() { ResourceAssetClassCache cache = new ResourceAssetClassCache(); Factory = new ResourceAssetClassFactory[AssetType.BaseAssetTypeCount]; for (int i = 0; i < AssetType.BaseAssetTypeCount; i++) { Factory[i] = new ResourceAssetClassFactory(cache, i); } }
public ResourceAssetClassFactory(ResourceAssetClassCache classCache, int type) { _classCache = classCache; _type = type; }