/// <summary> /// Selects a tool, based on type, from a Tools Menu Button /// </summary> /// <param name="menu">The menu</param> /// <param name="rayOrigin">This menu's RayOrigin</param> /// <param name="type">The type of the tool that is to be selected</param> public static void SelectTool(this IToolsMenu menu, Transform rayOrigin, Type type) { selectTool(rayOrigin, type); }
/// <summary> /// Called when selecting the main menu activator /// </summary> /// <param name="menu">The menu</param> /// <param name="rayOrigin">This menu's RayOrigin</param> public static void MainMenuActivatorSelected(this IToolsMenu menu, Transform rayOrigin) { mainMenuActivatorSelected(rayOrigin); }