WeaverEditorUtilities.

DoToggle(bool, string, string) Method

Summary

[Editor-Only] Draws a UnityEngine.GUILayout.Toggle(System.Boolean,UnityEngine.GUIContent,UnityEngine.GUILayoutOption[]) and returns true if the value is changed.
Assembly
Weaver.dll
Namespace
Weaver.Editor
Containing Type
WeaverEditorUtilities

Syntax

public static bool DoToggle(ref bool value, string label, string tooltip)

Parameters

Name Type Description
value bool
label string
tooltip string

Return Value

Type Description
bool