文档

Unity Engine

Unity Engine

TooltipEvent

Event sent to find the first VisualElement that displays a tooltip.
阅读时间2 分钟最后更新于 1 个月前

Definition

public class TooltipEvent : EventBase<TooltipEvent>, IDisposable

Remarks

This event can be used instead of VisualElement.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