Method PreviewInToolsMenuButton
PreviewInToolsMenuButton(IUsesPreviewInToolsMenuButton, Transform, Type, string)
Highlights a ToolMenuButton when a menu button is highlighted
Declaration
public static void PreviewInToolsMenuButton(this IUsesPreviewInToolsMenuButton user, Transform rayOrigin, Type toolType, string toolDescription)
Parameters
Type | Name | Description |
---|---|---|
IUsesPreviewInToolsMenuButton | user | The functionality user |
Transform | rayOrigin | Transform: Ray origin to check |
Type | toolType | Type: MenuButton's tool type to preview |
string | toolDescription | String: The tool description to display as a Tooltip |