Loading...
Searching...
No Matches
AdventureHero.HeroItemButton Class Reference

Detailed Description

logic for an entry in the equipment pause menu
visualizes the item and starts its action when the buttons is pressed

https://adventure.softleitner.com/manual/hero-setup

Inheritance diagram for AdventureHero.HeroItemButton:
AdventureCore.IDescriptionItem

Public Member Functions

string GetDescription ()
 provides text for hints or tooltips
 
void Use ()
 

Public Attributes

Button Button
 
TMP_Text QuantityText
 
CanvasGroup CanvasGroup
 
ItemBase Item
 
ItemSlotBase Slot
 
InventoryBase Inventory
 

Properties

InventoryItem InventoryItem [get]
 

Member Function Documentation

◆ GetDescription()

string AdventureHero.HeroItemButton.GetDescription ( )
inline

provides text for hints or tooltips

Returns
description text for hints or tooltips

Implements AdventureCore.IDescriptionItem.