Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WithTooltip(string)

Configures the tooltip text of the port being built.
Read time 1 minuteLast updated 6 days ago

Definition

T WithTooltip(string tooltip)

Parameters

tooltip

The tooltip text to assign to the port.

Returns

Type

Description

TThe current builder instance for method chaining.

Remarks

Use this method to assign a custom tooltip description to the port. The tooltip appears in the user interface when hovering over the port name. Set the tooltip before calling IPortBuilder<T>.Build(). If not set, the display name and type of the port are used as a fallback in the format "DISPLAY NAME: Input of type PORT TYPE"