A* Pathfinding Project  3.8.5
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
EditorGUILayoutx Class Reference

Handles fading effects and also some custom GUI functions such as LayerMaskField. More...

Detailed Description

Handles fading effects and also some custom GUI functions such as LayerMaskField.

Static Public Member Functions

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 Private Attributes

static long lastUpdateTick
 
static string[] layerNames
 
static List< string > layers
 
static string[] tagNamesAndEditTagsButton
 Tag names and an additional 'Edit Tags...' entry.
 
static double timeLastUpdatedTagNames
 Last time tagNamesAndEditTagsButton was updated.
 

Member Function Documentation

static LayerMask LayerMaskField ( string  label,
LayerMask  selected 
)
static

Displays a LayerMask field.

Parameters
labelLabel to display
selectedCurrent 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

Member Data Documentation

long lastUpdateTick
staticprivate
string [] layerNames
staticprivate
List<string> layers
staticprivate
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: