AutoPrefs.EditorBool.

AutoPrefs.

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

Summary

Constructs an InspectorGadgets.Editor.AutoPrefs.EditorBool pref with the specified `key` and `defaultValue`.

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