WithTooltip(string)
Configures the tooltip text of the port being built.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
T WithTooltip(string tooltip)
Parameters
The tooltip text to assign to the port.
Returns
Type | Description |
|---|---|
| T | The 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"