Method SelectTool
SelectTool(IToolsMenu, Transform, Type)
Selects a tool, based on type, from a Tools Menu Button
Declaration
public static void SelectTool(this IToolsMenu menu, Transform rayOrigin, Type type)
Parameters
Type | Name | Description |
---|---|---|
IToolsMenu | menu | The menu |
Transform | rayOrigin | This menu's RayOrigin |
Type | type | The type of the tool that is to be selected |