Filter Block

A block that represents an item filter.

The Filter Block is used by the Filter List Block to list out all item filters. It's best to create a prefab of this and assign it to a filter list block.

You can add the default design to your scene by right-clicking in the hierarchy and navigating to Inventool > Blocks > Filter Block.

Properties

Name
Description

Button

The button component.

Icon Display

A block that displays the icon of the item type.

Preferred Sprite Identifier

The identifier of the preferred sprite to display.

Foldout Direction

Which direction the subtypes fold out.

Subtype Spacing

The spacing between each subtype block.

On Selected

A callback for when the filter is selected.

On Deselected

A callback for when the filter is deselected.

Last updated