public static LayerMask LayerMaskField(string label, int selectedMask) { return(EditorGUILayout.MaskField(label, selectedMask, LayerUtil.GetAllLayerNames())); }
public static LayerMask LayerMaskField(Rect position, GUIContent label, int selectedMask) { return(EditorGUI.MaskField(position, label, selectedMask, LayerUtil.GetAllLayerNames())); }