AutoPrefs.Float.

AutoPrefs.

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

Summary

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

Syntax

public Float(string key, float defaultValue = 0, Action<float> onValueChanged = null)

Parameters

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

Return Value

Type Description
void