A callback for when the interact button is pressed.
๐งฐ Methods
Access
Method
Returns
Description
private
OnInventory(InputValue input)
void
Called when an input named Inventory is pressed. Toggles the Inventool or Inventory window.
private
OnEquipment(InputValue input)
void
Called when an input named Equipment is pressed. Toggles the Equipment window.
private
OnKeyItems(InputValue input)
void
Called when an input named KeyItems is pressed. Toggles the Key Items window if enabled.
private
OnInteract(InputValue input)
void
Called when an input named Interact is pressed. Picks up items in range and interacts with merchants or storage keepers if available. Invokes onInteract.
private
OnExit(InputValue input)
void
Called when an input named Exit is pressed. Closes the Inventool window or active draggable windows.