position | Rectangle on the screen to use for the field. |
label | Optional label in front of the field. |
selected | The enum options the field shows. |
style | Optional GUIStyle. |
Enum The enum options that has been selected by the user.
This method is obsolete. Use EditorGUI.EnumFlagsField instead.
Makes 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.