Summary
[Editor-Only]
A collection of wrappers for EditorPrefs which simplify the way you can store and retrieve values.
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["AutoPrefs"]
class Type type-node
Syntax
public static class AutoPrefs
Remarks
PlayerPrefs versions can be found in
InspectorGadgets.AutoPrefs
Methods
Name | Value | Summary |
---|---|---|
DoColorGUI |
bool |
Draws a GUI Color field for an
InspectorGadgets.AutoPrefs.Vector4 .static
|
DoGUI |
bool |
Draws a GUI field for an
InspectorGadgets.AutoPrefs.Bool .static
|
DoGUI |
bool |
Draws a GUI field for an
InspectorGadgets.AutoPrefs.Float .static
|
DoGUI |
bool |
Draws a GUI field for an
InspectorGadgets.AutoPrefs.Int .static
|
DoGUI |
bool |
[Editor-Only] Draws GUI controls for this pref and returns true if the value was changed.
static
|
DoGUI |
bool |
[Editor-Only] Draws GUI controls for this pref and returns true if the value was changed.
static
|
DoGUI |
bool |
[Editor-Only] Draws GUI controls for this pref and returns true if the value was changed.
static
|
GetControlRect |
Rect |
Uses
UnityEditor.EditorGUILayout.GetControlRect(System.Boolean,System.Single,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
to allocate a UnityEngine.GUILayout UnityEngine.Rect for a control.
static
|