Skip to main content

Interface: TooltipRequiredOptions

Defined in: ui/components/tooltip-component.ts:8

Fields of TooltipEcsComponent with no sensible default; callers must always provide these.

Extended by​

Properties​

label​

label: number

Defined in: ui/components/tooltip-component.ts:20

The entity carrying the tooltip's TextEcsComponent - toggled enabled alongside panel. createTooltip builds this for you.


panel​

panel: number

Defined in: ui/components/tooltip-component.ts:14

The entity carrying the tooltip's SpriteEcsComponent (its background panel) - toggled enabled by createUiTooltipEcsSystem to show/hide the tooltip. createTooltip builds this for you.