Summary
[Editor-Only] An
InspectorGadgets.Editor.AutoPrefs.EditorInt
which wraps InspectorGadgets.Editor.ModifierKey
flags.- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Interfaces
- Base Types
-
- Object
- AutoPrefs
.AutoPref <int> - AutoPrefs
.Int - AutoPrefs
.EditorInt
graph BT
Type-->Base0["AutoPrefs.EditorInt"]
click Base0 "/inspector-gadgets/api/InspectorGadgets.Editor/EditorInt"
Base0-->Base1["AutoPrefs.Int"]
click Base1 "/inspector-gadgets/api/InspectorGadgets/Int"
Base1-->Base2["AutoPrefs.AutoPref<int>"]
Base2-->Base3["Object"]
Type-.->Interface0["AutoPrefs.IAutoPref"]
click Interface0 "/inspector-gadgets/api/InspectorGadgets/IAutoPref"
Type["ModifierKeysPref"]
class Type type-node
Syntax
public class ModifierKeysPref : AutoPrefs.EditorInt, AutoPrefs.IAutoPref
Constructors
Name | Summary |
---|---|
ModifierKeysPref |
Properties
Name | Value | Summary |
---|---|---|
AreKeysCurrentlyDown | bool |
Are all modifiers in the
InspectorGadgets.Editor.ModifierKeysPref.Value currently being held down? |
Value | ModifierKey |
The current value of this pref.
|
Methods
Name | Value | Summary |
---|---|---|
AreKeysDown |
bool |
Are all modifiers in the
InspectorGadgets.Editor.ModifierKeysPref.Value being held down in the `currentEvent`? |
DeletePref |
void |
Deletes the value of this pref from
UnityEditor.EditorPrefs and reverts to the default value.Inherited from AutoPrefs
|
DoGUI |
bool | |
IsSaved |
bool |
Returns true if
UnityEditor.EditorPrefs currently contains a value for this pref.Inherited from AutoPrefs
|
Load |
int |
Loads the value of this pref from
UnityEditor.EditorPrefs .Inherited from AutoPrefs
|
Save |
void |
Saves the value of this pref to
UnityEditor.EditorPrefs .Inherited from AutoPrefs
|
ValueContains |
bool |
Does the
InspectorGadgets.Editor.ModifierKeysPref.Value contain the `modifier`? |
Operators
Name | Value | Summary |
---|---|---|
implicit operator |
AutoPrefs |
Inherited from AutoPrefs
|
implicit operator |
AutoPrefs |
Inherited from AutoPrefs
|
implicit operator int |
int |
Inherited from AutoPrefs
|
implicit operator |
ModifierKey | |
operator != |
bool |
Inherited from AutoPrefs
|
operator |
bool |
Inherited from AutoPrefs
|
operator |
bool |
Inherited from AutoPrefs
|
operator == |
bool |
Inherited from AutoPrefs
|
operator > |
bool |
Inherited from AutoPrefs
|
operator > |
bool |
Inherited from AutoPrefs
|
Extension Methods
Name | Value | Summary |
---|---|---|
DoGUI |
bool |
Draws a GUI field for an
InspectorGadgets.AutoPrefs.Int .From AutoPrefs
|
DoGUI |
bool |
[Editor-Only] Draws GUI controls for this pref and returns true if the value was changed.
From AutoPrefs
|
DoGUI |
bool |
[Editor-Only] Draws GUI controls for this pref and returns true if the value was changed.
From AutoPrefs
|
DoGUI |
bool |
[Editor-Only] Draws GUI controls for this pref and returns true if the value was changed.
From AutoPrefs
|