Constructor TooltipContent
TooltipContent(string, string, params char[])
Creates a new tooltip with a title, a summary, and an optional array of characters for the shortcut.
To specify modifier keys, use the Windows control keys. ProBuilder manages switching to Linux control keys for the macOS and Linux versions of the Unity Editor.
Declaration
public TooltipContent(string title, string summary, params char[] shortcut)
Parameters
Type | Name | Description |
---|---|---|
string | title | The header text for this tooltip. |
string | summary | The body of the tooltip text. This should be kept brief. |
char[] | shortcut | A set of keys to be displayed as the shortcut for this action. |
TooltipContent(string, string, string)
Creates a new tooltip with a title, a summary, and an optional string for the shortcut.
Declaration
public TooltipContent(string title, string summary, string shortcut = "")
Parameters
Type | Name | Description |
---|---|---|
string | title | The header text for this tooltip. |
string | summary | The body of the tooltip text. This should be kept brief. |
string | shortcut | A set of keys to be displayed as the shortcut for this action. |