Megadocs 0.0.1
All of megapop's internal libraries
Megapop.MegaCore.Editor.EditorUtil Class Reference

Static Public Member Functions

static IList CreateList (Type type)
 Create a unity-supported list More...
 
static void RepaintEditors (SerializedObject serializedObject)
 
static LayerMask FieldToLayerMask (int field)
 Converts the field value to a LayerMask More...
 
static int LayerMaskToField (LayerMask mask)
 Converts a LayerMask to a field value More...
 

Member Function Documentation

◆ CreateList()

static IList Megapop.MegaCore.Editor.EditorUtil.CreateList ( Type  type)
inlinestatic

Create a unity-supported list

◆ FieldToLayerMask()

static LayerMask Megapop.MegaCore.Editor.EditorUtil.FieldToLayerMask ( int  field)
inlinestatic

Converts the field value to a LayerMask

◆ LayerMaskToField()

static int Megapop.MegaCore.Editor.EditorUtil.LayerMaskToField ( LayerMask  mask)
inlinestatic

Converts a LayerMask to a field value

◆ RepaintEditors()

static void Megapop.MegaCore.Editor.EditorUtil.RepaintEditors ( SerializedObject  serializedObject)
inlinestatic

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