public VoxelData(byte _id, ChunkData _chunkData, Vector3Int _localPosition) { id = _id; locPosition = _localPosition; chunkData = _chunkData; neighbours = new VoxelNeighbours(this); }
public VoxelState(byte _id, ChunkData _chunkData, Vector3Int _position) { id = _id; chunkData = _chunkData; neighbours = new VoxelNeighbours(this); position = _position; light = 0; }