Tooltip System
  • WELCOME
    • πŸ‘‹Hello
  • πŸ—ΊοΈRoadmap
  • ⛑️Support & Community
  • πŸŽ“Changelog
  • GETTING STARTED
    • πŸ”ŒImport package
    • πŸ““Scene Setup
    • πŸ“šCreating Tooltip UI
    • πŸ“˜Add tooltip content
  • HOW IT WORKS
    • 🧠Tooltip System
    • πŸ”·Tooltip Information
    • πŸ”·Tooltip Display Triggers
    • πŸ”·Tooltip Visuals (UI Prefabs)
    • πŸ”ΆTooltip Positioning
    • πŸ”ΆTooltip Timing and Visibility
    • ♦️Tooltip Animation Controller
    • ♦️Tooltip Layout System
    • 🧩Extensions
Powered by GitBook
On this page
  • Step 1: Create a Tooltip UI Prefab
  • Step 2: Register Tooltip UIs
  1. GETTING STARTED

Creating Tooltip UI

This page shows how to create your visual tooltip prefabs and register them with the system.

Step 1: Create a Tooltip UI Prefab

  1. In your Canvas, create a new UI GameObject

  2. Create your own layout or drag in one of the (20+) UI prefabs available

  3. Add component for displaying tooltip information

    • TextTooltipUI for basic text

    • FlexibleTooltipUI for rich data values (texts, sprites, etc.)

    • Your own custom ATooltipUI subclass

  4. Style it using standard Unity UI: add background, padding, shadow, etc.

  5. Prefab it into your assets folder (optional but recommended).


Step 2: Register Tooltip UIs

  1. Select your TooltipManager.

    1. Assign either your prefab or world instances to the tooltip list on manager.

    2. Or register tooltip at runtime

πŸ§ͺ Notes

  • Tooltips will automatically use the matching UI type based on the TooltipInformation they are assigned.

  • Want a unique tooltip style per item type? Just subclass ATooltipInformation and create a matching ATooltipUI.

PreviousScene SetupNextAdd tooltip content

Last updated 4 days ago

πŸ“š