Tooltip Map Assets
Last updated
Was this helpful?
Last updated
Was this helpful?
A Tooltip Map is a Data Asset that holds tooltip strings to easily manage them so that you don't have to find them in your Blueprints or code.
In this example, there are four tooltips, each with its own unique key. Any of these tooltips can be triggered using its key via Blueprint or C++.
The fourth example (MapExample2) has a key that can be replaced when triggering the tooltip. This means that the tooltip text can be modified based on player input or gameplay choices, such as the example below, where the key '{Name}' is replaced with the player name that the player has just entered through a different UI.
See the SH_TooltipTrigger_Example asset for examples of different ways to trigger tooltips via Blueprints.