Equipment Slot Element

Scripting with the EquipmentSlotElement class.

The EquipmentSlotElement class is a VisualElement that represents an Equipment Slot.

Fields & Properties

Name
Description
Type
Access

slot

The slot data.

EquipmentSlot

public

iconElement

The visual element that is used to display the equipped item icon.

VisualElement

public

dragElement

The element created when the item stack is being dragged.

VisualElement

protected

IsVisible

If this equipment slot is visible.

bool

public

HasItem

If this equipment slot has an item.

bool

public

Last updated