Пример #1
0
 public Block(BlockUtils.BlockType blockType, Vector3 position, GameObject parent, Chunk owner)
 {
     this.blockType = blockType;
     this.position  = position;
     this.parent    = parent;
     this.owner     = owner;
     isSolid        = BlockUtils.IsBlockTypeSolid(this.blockType);
 }