Tooltip System

Tooltip SystemStaff of Light Example TooltipThe Tooltip System is designed such that a visual GUI will be drawn onto the screen when the mouse is hovering over a specific Icon element or an in world Transform object.

The Icon element is provided with the package, it’s purpose is to allow your Tooltips a reference of where to locate the proper data based on the type and name of that Icon. IconTypes EnumIcons are categorized based off three different types: Item, Skill and GameObject, each type is associated with it’s own text file. Different types and file paths can be added and changed easily, but by default these are the initial settings.
Continue reading

Update 1.05

  • Fixed a bug when hovering over another GameObject with the same Object Name
  • Added the Tooltip Mouse Follow functionality to the GUIController.cs script
    • This allows the active_tooltip to follow the mouse position when hovering over a GameObject

Update 1.04

  • Updated GUIController to give GUI Icons priority over GameObject Icons
    • If you’re hovering over both a GUI Icon and a GameObject the GUI Icon Tooltip will be drawn
  • Updated GUIController to not draw GUI Icon tooltips that don’t contain an Icon name
    • Useful for when you don’t want the Icon to contain any object
  • Fixed a bug that would generate the data more than once