Summary
Constructs a
InspectorGadgets.AutoPrefs.Vector2 pref with the specified `key` and `defaultValue`.- Assembly
- Kybernetik
.InspectorGadgets .dll - Namespace
- InspectorGadgets
- Containing Type
- AutoPrefs
.Vector2
Syntax
public Vector2(string key, Vector2 defaultValue = null, Action<Vector2> onValueChanged = null)
Parameters
| Name | Type | Description |
|---|---|---|
| key | string | |
| defaultValue | Vector2 | |
| onValueChanged | Action |
Return Value
| Type | Description |
|---|---|
| void |