Handles fading effects and also some custom GUI functions such as LayerMaskField.
More...
Handles fading effects and also some custom GUI functions such as LayerMaskField.
|
static LayerMask | LayerMaskField (string label, LayerMask selected) |
| Displays a LayerMask field.
|
|
static int | TagField (string label, int value) |
|
static void | TagMaskField (GUIContent label, int value, System.Action< int > callback) |
|
static bool | UnityTagMaskList (GUIContent label, bool foldout, List< string > tagMask) |
|
static LayerMask LayerMaskField |
( |
string |
label, |
|
|
LayerMask |
selected |
|
) |
| |
|
static |
Displays a LayerMask field.
- Parameters
-
label | Label to display |
selected | Current LayerMask |
- Note
- Unity 3.5 and up will use the EditorGUILayout.MaskField instead of a custom written one.
static int TagField |
( |
string |
label, |
|
|
int |
value |
|
) |
| |
|
static |
static void TagMaskField |
( |
GUIContent |
label, |
|
|
int |
value, |
|
|
System.Action< int > |
callback |
|
) |
| |
|
static |
static bool UnityTagMaskList |
( |
GUIContent |
label, |
|
|
bool |
foldout, |
|
|
List< string > |
tagMask |
|
) |
| |
|
static |
string [] tagNamesAndEditTagsButton |
|
staticprivate |
Tag names and an additional 'Edit Tags...' entry.
Used for SingleTagField
double timeLastUpdatedTagNames |
|
staticprivate |
Last time tagNamesAndEditTagsButton was updated.
Uses EditorApplication.timeSinceStartup
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Editor/EditorGUIx.cs