AutoPrefs.Vector2.

AutoPrefs.

Vector2(string, Vector2, Action<Vector2>) Constructor

Summary

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

Syntax

public Vector2(string key, Vector2 defaultValue = null, Action<Vector2> onValueChanged = null)

Parameters

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

Return Value

Type Description
void