public override void AddVoxel(VoxelSpace space, Vector3i index) { space.SetVoxel(index, new Voxel() { Exists = true, Orientation = Orientation, BlockType = VoxelType }); }
protected override void DoVoxelAction(VoxelSpace space, Vector3 hitLocation, Vector3i index) { space.SetVoxel(index, new Voxel() { Exists = false }); }
protected override void DoVoxelAction(VoxelSpace voxels, Transform hitTransform, Vector3 hitLocation, Vector3i index) { voxels.SetVoxel(index, new Voxel() { Exists = false }); }
public override void AddVoxel(VoxelSpace space, Vector3i index) { space.SetVoxel(index, new Voxel() { Exists = true, Orientation = Orientation, BlockType = VoxelType }, new Thruster() { Force = _force }, new ThrusterFlame(_flameRect, true, _flameMaterial)); }