Summary
An
InspectorGadgets.AutoPrefs.AutoPref`1
which encapsulates a UnityEngine.Vector4
value stored in
UnityEngine.PlayerPrefs
.
- Assembly
- Kybernetik
.InspectorGadgets .dll - Namespace
- InspectorGadgets
- Interfaces
- Base Types
-
- Object
- AutoPrefs
.AutoPref <Vector4>
- Derived Types
graph BT
Type-->Base0["AutoPrefs.AutoPref<Vector4>"]
Base0-->Base1["Object"]
Type-.->Interface0["AutoPrefs.IAutoPref"]
click Interface0 "/inspector-gadgets/api/InspectorGadgets/IAutoPref"
Type["AutoPrefs.Vector4"]
class Type type-node
Derived0["AutoPrefs.EditorVector4"]-->Type
click Derived0 "/inspector-gadgets/api/InspectorGadgets.Editor/EditorVector4"
Syntax
public class AutoPrefs.Vector4 : AutoPrefs.AutoPref<Vector4>, AutoPrefs.IAutoPref
Constructors
Name | Summary |
---|---|
Vector4 |
Constructs a InspectorGadgets.AutoPrefs.Vector4 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 |
Vector4 |
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 |
Vector4 |
Inherited from AutoPrefs
|
operator != |
bool |
Inherited from AutoPrefs
|
operator == |
bool |
Inherited from AutoPrefs
|
Extension Methods
Name | Value | Summary |
---|---|---|
DoColorGUI |
bool |
Draws a GUI Color field for an
InspectorGadgets.AutoPrefs.Vector4 .From AutoPrefs
|