Example #1
0
 public BlockAccessor AddData(DynamicBuffer <BlockSubMaterialIdentityComponent> buffer)
 {
     SubMaterial = new BufferAccessor <BlockSubMaterialIdentityComponent>(_index, buffer);
     return(this);
 }
Example #2
0
 public BlockAccessor AddData(DynamicBuffer <BlockCulledFacesComponent> buffer)
 {
     CulledFace = new BufferAccessor <BlockCulledFacesComponent>(_index, buffer);
     return(this);
 }
Example #3
0
 public BlockAccessor AddData(DynamicBuffer <BlockShapeComponent> buffer)
 {
     Shape = new BufferAccessor <BlockShapeComponent>(_index, buffer);
     return(this);
 }