AutoPrefs.Bool.

AutoPrefs.

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

Summary

Constructs a InspectorGadgets.AutoPrefs.Bool pref with the specified `key` and `defaultValue`.

Syntax

public Bool(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