Summary
An
InspectorGadgets.AutoPrefs.AutoPref`1 which encapsulates a UnityEngine.Vector3 value stored in
UnityEngine.PlayerPrefs.
- Assembly
- Kybernetik
.InspectorGadgets .dll - Namespace
- InspectorGadgets
- Interfaces
- Base Types
-
- Object
- AutoPrefs
.AutoPref <Vector3>
- Derived Types
graph BT
Type-->Base0["AutoPrefs.AutoPref<Vector3>"]
Base0-->Base1["Object"]
Type-.->Interface0["AutoPrefs.IAutoPref"]
click Interface0 "/inspector-gadgets/api/InspectorGadgets/IAutoPref"
Type["AutoPrefs.Vector3"]
class Type type-node
Derived0["AutoPrefs.EditorVector3"]-->Type
click Derived0 "/inspector-gadgets/api/InspectorGadgets.Editor/EditorVector3"
Syntax
public class AutoPrefs.Vector3 : AutoPrefs.AutoPref<Vector3>, AutoPrefs.IAutoPref
Constructors
| Name | Summary |
|---|---|
| Vector3 |
Constructs a InspectorGadgets.AutoPrefs.Vector3 pref with the specified `key` and `defaultValue`. |
Fields
Properties
| Name | Value | Summary |
|---|---|---|
| KeyX | string |
The key used to identify the x value of this pref.
|
Methods
| Name | Value | Summary |
|---|---|---|
| DeletePref |
void |
Deletes the value of this pref from
UnityEngine.PlayerPrefs and reverts to the default value. |
| IsSaved |
bool |
Returns true if
UnityEngine.PlayerPrefs currently contains a value for this pref. |
| Load |
Vector3 |
Loads the value of this pref from
UnityEngine.PlayerPrefs. |
| Save |
void |
Saves the value of this pref to
UnityEngine.PlayerPrefs. |
Operators
| Name | Value | Summary |
|---|---|---|
| implicit operator |
AutoPrefs |
|
| implicit operator |
Color | |
| implicit operator |
Vector3 |
Inherited from AutoPrefs
|
| operator != |
bool |
Inherited from AutoPrefs
|
| operator == |
bool |
Inherited from AutoPrefs
|