ESCInventoryButton
Extends: TextureButton
Description
The inventory representation of an ESC item if pickable (only used by the inventory components)
Members
global_id
var global_id: String
Global ID of the ESCItem that uses this ESCInventoryItem.
Signals
mouse_left_inventory_item
signal mouse_left_inventory_item(item_id: Variant)
Signal emitted when the item was left clicked.
Parameters
Name |
Type |
Description |
Required? |
|---|---|---|---|
item_id |
|
Global ID of the clicked item |
yes |
mouse_right_inventory_item
signal mouse_right_inventory_item(item_id: Variant)
Signal emitted when the item was right clicked.
Parameters
Name |
Type |
Description |
Required? |
|---|---|---|---|
item_id |
|
Global ID of the clicked item |
yes |
mouse_double_left_inventory_item
signal mouse_double_left_inventory_item(item_id: Variant)
Signal emitted when the item was double clicked.
Parameters
Name |
Type |
Description |
Required? |
|---|---|---|---|
item_id |
|
Global ID of the clicked item |
yes |
inventory_item_focused
signal inventory_item_focused(item_id: Variant)
Signal emitted when the item was focused.
Parameters
Name |
Type |
Description |
Required? |
|---|---|---|---|
item_id |
|
Global ID of the clicked item |
yes |
inventory_item_unfocused
signal inventory_item_unfocused()
Signal emitted when the item is not focused anymore.
Parameters
None.