Loading...
Searching...
No Matches
AdventureCore.InstantiatingItemSlot Class Reference

Detailed Description

item slot for PrefabItem which instantiates the items prefab while it is equipped

https://adventure.softleitner.com/manual/item

Inheritance diagram for AdventureCore.InstantiatingItemSlot:
AdventureCore.ItemSlot< PrefabItem >

Public Attributes

Transform Parent
 
- Public Attributes inherited from AdventureCore.ItemSlot< PrefabItem >
FallbackItem
 

Protected Member Functions

override void equip (PrefabItem item)
 
override void unequip (PrefabItem item)
 
override void applyVisibility ()
 
- Protected Member Functions inherited from AdventureCore.ItemSlot< PrefabItem >
override void onIsHiddenChanged ()
 
virtual bool canEquip (T item)
 
virtual void equip (T item)
 
virtual void unequip (T item)
 

Additional Inherited Members

- Public Member Functions inherited from AdventureCore.ItemSlot< PrefabItem >
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
 
- Properties inherited from AdventureCore.ItemSlot< PrefabItem >
EquippedItem [get]
 
override Type ItemType [get]
 

Member Function Documentation

◆ applyVisibility()

override void AdventureCore.InstantiatingItemSlot.applyVisibility ( )
inlineprotectedvirtual