🔷Tooltip Display Triggers
Objects can show tooltips automatically when hovered or interacted with.
To enable this:
Add a
TooltipObjectto your GameObject.Assign a
TooltipInformationtype to define what it should display (e.g., text, icon, or stat fields).Tooltips will appear based on your settings:
On hover
After delay
When cursor is stationary
Optional: Use TooltipObjectDetector to automatically detect objects with tooltips using raycasts.
Utility Components
There are two simple utility scripts provided that you can optionally use in the Editor or at runtime..
ToggleTooltipTrigger - Component which allows for showin and hiding information manually, like with a button interaction through a
TooltipObjectreference.DismissTooltipTrigger - Allows simple dismissal of the tooltip, specified or all. Also good use for hiding a tooltip when button is pressed (on tooltip itself or elsewhere).
Last updated