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 = default(bool), Action<bool> onValueChanged = null)

Parameters

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

Return Value

Type Description
void