AutoPrefs.AutoPref<T>.

AutoPrefs.

AutoPref(string, T, Action<T>) Constructor

Summary

Constructs an InspectorGadgets.AutoPrefs.AutoPref`1 with the specified `key` and `defaultValue`.

Syntax

protected AutoPref(string key, T defaultValue, Action<T> onValueChanged)

Parameters

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

Return Value

Type Description
void