Click or drag to resize

MCGUIToolbarButton Method (Rect, GUIContent)

Make a single press button with EditorStyles.toolbarButton style.

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.UserInterface
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[PublicAPIAttribute]
public static bool ToolbarButton(
	Rect position,
	[NotNullAttribute] GUIContent content
)

Parameters

position
Type: Rect
Position of the button
content
Type: GUIContent
Text, image and tooltip for this button.

Return Value

Type: Boolean
true if a user clicks the button; otherwise, false.
See Also