public BlobAssetCache(Allocator allocator)
 {
     BlobAssetBatch = DynamicBlobAssetBatch.Allocate(allocator);
     BlobAssetRemap = new NativeHashMap <BlobAssetPtr, BlobAssetPtr>(1, allocator);
 }
示例#2
0
 protected override void OnCreate()
 {
     m_BlobAssetBatchPtr = DynamicBlobAssetBatch.Allocate(Allocator.Persistent);
 }