ToolTip
Last updated
Last updated
This component can be used to add tooltips to all the UI components and any game objects. This is a utility component & it will not affect the functioning of Easy Grid Builder Pro.
Property | Function |
---|---|
Header | Header text of the tooltip. This is displayed on top of the tooltip. |
Content | Content text of the tooltip. This is displayed below the Header. Only if this is empty the header text will get displayed. |
Object Name As Header | Set the object name as the header instead of the Header text. |
Object Build SO Tool Tip As Content | Do not use this feature - This is used in internal features in the UI system. |
To use ToolTip simply add this component to a UI component or a game object and set values.
When using with a UI component make sure the UI component is raycastable. And when using with a game object make sure that the object has a collider in it.
As shown in the image above ToolTip component has been added to a cube game object and the object has a collider component. And the tooltip is displayed on the cube when hovered over with the mouse pointer.