ActionAdventureKit 1.7.3
|
item slot for equipment in the hero demo(bombs, grapple hook, ...)
instantiates the action prefab that hero equipment items define when equipped
overrides the regular usage mechanism to start that action instead
Public Member Functions | |
virtual void | Input (InputAction.CallbackContext callbackContext) |
override bool | CanUse (int quantity=1) |
override void | Use (int quantity=1) |
Public Member Functions inherited from AdventureCore.ItemSlot< HeroEquipmentItem > | |
override void | Initialize (CharacterBase character) |
override bool | CanEquip (InventoryItem inventoryItem, bool clear=true) |
checks if an inventory item can be equipped | |
override void | Equip (InventoryItem inventoryItem) |
equips an inventory item(if another item is already equipped it is unequipped first) | |
override void | Clear () |
clears the slot of its currently equipped item | |
Protected Member Functions | |
override void | equip (HeroEquipmentItem item) |
override void | unequip (HeroEquipmentItem item) |
Protected Member Functions inherited from AdventureCore.ItemSlot< HeroEquipmentItem > | |
override void | onIsHiddenChanged () |
virtual bool | canEquip (T item) |
virtual void | equip (T item) |
virtual void | unequip (T item) |
virtual void | applyVisibility () |
Additional Inherited Members | |
Public Attributes inherited from AdventureCore.ItemSlot< HeroEquipmentItem > | |
T | FallbackItem |
Properties inherited from AdventureCore.ItemSlot< HeroEquipmentItem > | |
T | EquippedItem [get] |
override Type | ItemType [get] |