Interface ITooltip
Interface for objects that provide tooltip information for UI display. Provides icon, name, and formatted tooltip text.
public interface ITooltip
Properties
Icon
Gets the icon sprite to display in the tooltip.
Sprite Icon { get; }
Property Value
- Sprite
Name
Gets the display name for the tooltip.
string Name { get; }
Property Value
Methods
Tooltip()
Returns the tooltip text for this object, typically including name, description, and stats.
string Tooltip()
Returns
- string
The tooltip text.