Click or drag to resize

MCGUIToolbarButton Method (Rect, String)

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,
	[CanBeNullAttribute] string caption
)

Parameters

position
Type: Rect
Position of the button
caption
Type: SystemString
Text to display on the button

Return Value

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