label | Optional label in front of the field. |
selected | The enum options the field shows. |
style | Optional GUIStyle. |
options | Optional layout options. |
Enum The enum options that has been selected by the user.
This method is obsolete. Use EditorGUILayout.EnumFlagsField instead.
Make an enum popup selection field for a bitmask.
Takes an enum with the Flags attribute as input parameter and returns the enum values selected by the user.
Additional resources:EditorGUI.EnumPopup.