AutoPrefs.EditorFloat.

AutoPrefs.

EditorFloat(string, float, Action<float>) Constructor

Summary

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

Syntax

public EditorFloat(string key, float defaultValue = default(float), Action<float> onValueChanged = null)

Parameters

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

Return Value

Type Description
void