Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 660 Bytes

ctrl_inventory.md

File metadata and controls

19 lines (11 loc) · 660 Bytes

CtrlInventory

Inherits: VBoxContainer

Inherited by: CtrlInventoryStacked

Description

A UI control representing a basic Inventory. Displays a list of items in the inventory.

Properties

  • inventory_path: NodePath - Path to an Inventory node.
  • default_item_icon: Texture - The default icon that will be used for items with no image property.
  • inventory: Inventory - The Inventory node linked to this control.

Methods

  • get_selected_inventory_items() -> Array - Returns an array of selected items.