Handles fading effects and also some custom GUI functions such as LayerMaskField.
More...
|
FadeArea | BeginFadeArea (bool open, string label, string id) |
|
FadeArea | BeginFadeArea (bool open, string label, string id, GUIStyle areaStyle) |
|
FadeArea | BeginFadeArea (bool open, string label, string id, GUIStyle areaStyle, GUIStyle labelStyle) |
|
FadeArea | BeginFadeArea (bool open, string id) |
|
FadeArea | BeginFadeArea (bool open, string id, float minHeight) |
|
FadeArea | BeginFadeArea (bool open, string id, float minHeight, GUIStyle areaStyle) |
|
bool | DrawID (string id) |
|
void | EndFadeArea () |
|
void | RemoveID (string id) |
|
|
static void | BeginIndent () |
| Begin horizontal indent for the next control.
|
|
static float | Berp (float start, float end, float value) |
|
static float | Coserp (float start, float end, float value) |
|
static void | EndIndent () |
| End indent.
|
|
static float | Hermite (float start, float end, float value) |
|
static int | IndentWidth () |
| Returns width of current editor indent.
|
|
static LayerMask | LayerMaskField (string label, LayerMask selected) |
|
static LayerMask | LayerMaskField (string label, LayerMask selected, bool showSpecial) |
| Displays a LayerMask field.
|
|
static void | MenuCallback (System.Object ob) |
|
static void | SetTagField (GUIContent label, ref Pathfinding.TagMask value) |
|
static float | Sinerp (float start, float end, float value) |
|
static int | SingleTagField (string label, int value) |
|
static void | TagsMaskField (GUIContent changeLabel, GUIContent setLabel, ref Pathfinding.TagMask value) |
|
static int | UpDownArrows (GUIContent label, int value, GUIStyle labelStyle, GUIStyle upArrow, GUIStyle downArrow) |
|
|
static int | currentDepth = 0 |
|
static int | currentIndex = 0 |
|
static GUIStyle | defaultAreaStyle |
|
static GUIStyle | defaultLabelStyle |
|
static Editor | editor |
|
static bool | fade = true |
|
static bool | fancyEffects = true |
|
static bool | isLayout = false |
|
static long | lastUpdateTick |
|
static string[] | layerNames |
|
static List< int > | layerNumbers |
|
static List< string > | layers |
|
static float | speed = 6 |
|
static GUIStyle | stretchStyle |
|
static GUIStyle | stretchStyleThin |
|
|
Rect | fadeAreaRect |
|
Rect | lastAreaRect |
|
Handles fading effects and also some custom GUI functions such as LayerMaskField.
static void BeginIndent |
( |
| ) |
|
|
static |
Begin horizontal indent for the next control.
Fake "real" indent when using EditorGUIUtility.LookLikeControls.
Forumula used is 13+6*EditorGUI.indentLevel
static void EndIndent |
( |
| ) |
|
|
static |
End indent.
Actually just a EndHorizontal call.
- See Also
- BeginIndent
static int IndentWidth |
( |
| ) |
|
|
static |
Returns width of current editor indent.
Unity seems to use 13+6*EditorGUI.indentLevel
static LayerMask LayerMaskField |
( |
string |
label, |
|
|
LayerMask |
selected, |
|
|
bool |
showSpecial |
|
) |
| |
|
static |
Displays a LayerMask field.
- Parameters
-
label | Label to display |
showSpecial | Use the Nothing and Everything selections |
selected | Current LayerMask |
- Note
- Unity 3.5 and up will use the EditorGUILayout.MaskField instead of a custom written one.
The documentation for this class was generated from the following file:
- /Users/aron/Unity/AstarPathfindingGIT/Assets/AstarPathfindingProject/Editor/EditorGUIx.cs