Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TooltipEvent

Event sent to find the first VisualElement that displays a tooltip.
Read time 2 minutesLast updated 4 days ago

Definition

public class TooltipEvent : EventBase<TooltipEvent>, IDisposable

Remarks

This event can be used instead of _tooltip to compute tooltips only when they are about to be displayed.

Constructors

Constructor

Description

TooltipEvent()Initializes and returns an instance of TooltipEvent.

Properties

Property

Description

rectRectangle of the hovered VisualElement in the panel coordinate system.
tooltipText to display inside the tooltip box.

Methods

Method

Description

InitResets the event members to their initial values.

Inheritance