AutoPrefs.EditorVector2.

AutoPrefs.

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

Summary

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

Syntax

public EditorVector2(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