A* Pathfinding Project  4.1.21
The A* Pathfinding Project for Unity 3D
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. More...
 
static int TagField (string label, int value, System.Action editCallback)
 
static bool UnityTagMaskList (GUIContent label, bool foldout, List< string > tagMask)
 

Static Private Attributes

static long lastUpdateTick
 
static Dictionary< int, string[]> layerNames = new Dictionary<int, string[]>()
 
static string [] tagNamesAndEditTagsButton
 Tag names and an additional 'Edit Tags...' entry. More...
 
static double timeLastUpdatedTagNames
 Last time tagNamesAndEditTagsButton was updated. More...
 

Member Function Documentation

◆ LayerMaskField()

static LayerMask LayerMaskField ( string  label,
LayerMask  selected 
)
static

Displays a LayerMask field.

Parameters
labelLabel to display
selectedCurrent LayerMask

◆ TagField()

static int TagField ( string  label,
int  value,
System.Action  editCallback 
)
static

◆ UnityTagMaskList()

static bool UnityTagMaskList ( GUIContent  label,
bool  foldout,
List< string >  tagMask 
)
static

Member Data Documentation

◆ lastUpdateTick

long lastUpdateTick
staticprivate

◆ layerNames

Dictionary<int, string[]> layerNames = new Dictionary<int, string[]>()
staticprivate

◆ tagNamesAndEditTagsButton

string [] tagNamesAndEditTagsButton
staticprivate

Tag names and an additional 'Edit Tags...' entry.

Used for SingleTagField

◆ timeLastUpdatedTagNames

double timeLastUpdatedTagNames
staticprivate

Last time tagNamesAndEditTagsButton was updated.

Uses EditorApplication.timeSinceStartup


The documentation for this class was generated from the following file: