コード例 #1
0
        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);
            }
        }
コード例 #2
0
 public ResourceAssetClassFactory(ResourceAssetClassCache classCache, int type)
 {
     _classCache = classCache;
     _type       = type;
 }