ドキュメント

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