Thank you for choosing Easy Tooltip! This asset is a high-performance, robust solution for adding professional tooltips to your Unity UI.
Designed for both artists and programmers, Version 3.0.0 introduces a massive architectural upgrade featuring optimized object pooling, live editor previews, and dual-tooltip support.
TooltipHintTrigger for secondary cursor-following prompts (e.g., "[RMB] Equip").onTooltipShow / onTooltipHide) to easily trigger game logic or sounds.The system is designed to "just work" in seconds. You can add tooltips in two ways:
TooltipTrigger component.Done! The global manager is created automatically behind the scenes.
You can add and customize tooltips entirely from your own scripts with a single static method.
// Get a reference to your button's GameObject
public GameObject mySlot;
// 1. Add a simple tooltip in one line:
TooltipTrigger.AddTooltip(mySlot, "Restores 50 HP.", "Health Potion");
// 2. Add a complex multi-block tooltip with auto-separators:
List<string> stats = new List<string> { "Damage: 120", "Durability: 100/100" };
var trigger = TooltipTrigger.AddTooltip(mySlot, stats, "Epic Sword");
// 3. Customize settings via properties:
if (trigger != null)
{
trigger.PositionMode = TooltipPositionMode.Fixed;
trigger.AnchorPosition = TooltipAnchor.TopRight;
trigger.PanelColor = Color.black;
} (See the Game-Ready Showcase and Feature Sandbox scenes for live examples of these setups).
TooltipTrigger: The main component you attach to your UI elements. It holds content, style overrides, position settings, and event hooks.TooltipHintTrigger: A lightweight, decoupled trigger for secondary mouse-following hints (perfect for displaying hotkeys next to the cursor while the main tooltip anchors elsewhere).TooltipManager: The "brain" of the system. It handles instantiation, optimized object pooling, smart screen clamping, and animation logic automatically.Tooltip Prefab: The visual prefab. The package includes default, Sci-Fi, Tactical, and Fantasy examples. You can easily duplicate and edit these to create your own custom RPG layouts. Located in Assets/Easy Tooltip/Prefabs/.You can configure your global project settings (Default Styles, Max Width, Fade Speeds, Global Clamping) in two ways:
1. Global Settings (Recommended):
Edit the TooltipManager prefab directly. This changes the defaults for your whole project, saving you from setting up colors on every single trigger.
Assets/Easy Tooltip/Resources/TooltipManager.prefab
2. Per-Scene Overrides (Optional):
Drag the TooltipManager prefab into a scene's hierarchy. The system will use this instance and its specific settings for that scene only.
A: Ensure the UI element with the TooltipTrigger has an Image or Text component with Raycast Target checked. Also, make sure no other invisible UI elements are blocking the raycast in front of it.
A: Yes. The asset uses preprocessor directives to automatically detect and support both the Legacy Input Manager and the New Input System package. No setup is required.
A: Yes! However, because VR uses 3D laser raycasters instead of a screen-space mouse, you must set your triggers to Fixed Position (anchoring to the UI element). Follow Mouse positioning relies on 2D screen coordinates and is not recommended for VR UX. (Tested successfully on Meta Quest 2).
A: Yes. The system automatically detects which Canvas the hovered object belongs to and ensures the tooltip is rendered on the correct layer and coordinate space.
A: If a tooltip is set to Fixed Positioning and anchored to the "Right", but moving it there pushes it off-screen, the system will automatically mirror the anchor to the "Left". If it still doesn't fit, it physically clamps to the screen bounds.
If Easy Tooltip saves you time and helps your project, please consider leaving a 5-star review on the Asset Store page. It helps the asset grow immensely.
Email is the fastest way to reach me. If you encounter any bugs, need help, or have feature requests, please contact me directly before leaving a review so I can resolve it for you immediately:
contact.pixeleader@gmail.com
(Please include "[Easy Tooltip]" in the email subject line so it doesn't get caught in spam.)