The EditorGUIExtensions type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
ArrayWithFoldout |
Draws an array or list just like the default inspector would.
One problem with this: It seems to ignore EditorGUI.indentLevel :-(
| |
GetEditorPrefsSettingBool |
Prefixes editor pref keys with NarayanaGames. to make sure
I don't overwrite other plugins' settings (or other plugins overwrite
my settings).
| |
IndentedLabel |
Draws a label which is indented according to EditorGUI.indentLevel.
| |
LabelDocs |
Draws a nice label for documentation.
| |
LabelInfo |
Draws a nice info label in a custom inspector.
| |
LabelInfoSmall | ||
LabelWarning |
Draws a nice red warning label in a custom inspector.
| |
NiceFloatSlider |
Draws a nice float slider for custom inspectors.
| |
NiceIntSlider |
Draws a nice int slider for custom inspectors.
| |
NiceVector2Field |
Draws a nice Vector2 field.
| |
NiceVector3Field |
Draws a nice Vector3 field.
| |
PersistentFoldout |
Draws a fold out which stays open or closed between editor sessions.
Do not use in your scripts because it uses editor prefs
in a specific namespace that only I am allowed to use ;-) don't blame me
if you use it and the Universe collapses - you have been warned!
| |
PersistentToggle |
Draws a persistent toggle which is used e.g. for switching between the default
inspector and my custom inspector or whether play mode changes shall be
persisted. This automatically stores its state to the editor prefs so that
it remembers its state between Unity sessions.
Do not use in your scripts because it uses editor prefs
in a specific namespace that only I am allowed to use ;-) don't blame me
if you use it and the Universe collapses - you have been warned!
| |
SetEditorPrefsSettingBool |
Prefixes editor pref keys with NarayanaGames. to make sure
I don't overwrite other plugins' settings (or other plugins overwrite
my settings).
| |
TimeScaleSlider |
Draws a slider that can be used to control Time.timeScale.
|
See Also