Default Inventool Input Handler
🎮 DefaultInventoolInputHandler Class
A default input handler for Inventool. This handler can toggle Inventool windows and handle basic interactions.
Namespace:
Esper.Inventool.Input
Access:public
Type:class
Inherits:MonoBehaviour
📦 Fields
public static
onInteract
UnityEvent
A callback for when the interact button is pressed.
🧰 Methods
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.
Last updated