AutoPrefs.EditorInt.

AutoPrefs.

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

Summary

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

Syntax

public EditorInt(string key, int defaultValue = default(int), Action<int> onValueChanged = null)

Parameters

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

Return Value

Type Description
void