AutoPrefs.Int.

AutoPrefs.

Int(string, int, Action<int>) Constructor

Summary

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

Syntax

public Int(string key, int defaultValue = 0, Action<int> onValueChanged = null)

Parameters

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

Return Value

Type Description
void