AutoPrefs.EditorBool.

AutoPrefs.

EditorBool(string, bool, Action<bool>) Constructor

Summary

Constructs an InspectorGadgets.AutoPrefs.EditorBool pref with the specified `key` and `defaultValue`.
Assembly
InspectorGadgets.dll
Namespace
InspectorGadgets
Containing Type
AutoPrefs.EditorBool

Syntax

public EditorBool(string key, bool defaultValue = false, Action<bool> onValueChanged = null)

Parameters

Name Type Description
key string
defaultValue bool
onValueChanged Action<bool>

Return Value

Type Description
void