ドキュメント

Unity Engine

Unity Engine

EnumMaskPopup

This method is obsolete. Use EditorGUILayout.EnumFlagsField instead. Make an enum popup selection field for a bitmask.
読み終わるまでの所要時間 2 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

EnumMaskPopup(string, Enum, GUILayoutOption[])

This method is obsolete. Use EditorGUILayout.EnumFlagsField instead.
Make an enum popup selection field for a bitmask.
注意
Deprecated. EnumMaskPopup has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskPopup(string label, Enum selected, params GUILayoutOption[] options)

Parameters

label

Optional label in front of the field.

selected

The enum options the field shows.

Optional layout options.

Returns

Type

Description

EnumThe enum options that has been selected by the user.

Remarks

Takes an enum with the Flags attribute as input parameter and returns the enum values selected by the user.
Additional Resources:EditorGUI.EnumPopup.

EnumMaskPopup(string, Enum, GUIStyle, GUILayoutOption[])

This method is obsolete. Use EditorGUILayout.EnumFlagsField instead.
Make an enum popup selection field for a bitmask.
注意
Deprecated. EnumMaskPopup has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskPopup(string label, Enum selected, GUIStyle style, params GUILayoutOption[] options)

Parameters

label

Optional label in front of the field.

selected

The enum options the field shows.

Optional GUIStyle.

Optional layout options.

Returns

Type

Description

EnumThe enum options that has been selected by the user.

Remarks

Takes an enum with the Flags attribute as input parameter and returns the enum values selected by the user.
Additional Resources:EditorGUI.EnumPopup.

EnumMaskPopup(GUIContent, Enum, GUILayoutOption[])

This method is obsolete. Use EditorGUILayout.EnumFlagsField instead.
Make an enum popup selection field for a bitmask.
注意
Deprecated. EnumMaskPopup has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskPopup(GUIContent label, Enum selected, params GUILayoutOption[] options)

Parameters

Optional label in front of the field.

selected

The enum options the field shows.

Optional layout options.

Returns

Type

Description

EnumThe enum options that has been selected by the user.

Remarks

Takes an enum with the Flags attribute as input parameter and returns the enum values selected by the user.
Additional Resources:EditorGUI.EnumPopup.

EnumMaskPopup(GUIContent, Enum, GUIStyle, GUILayoutOption[])

This method is obsolete. Use EditorGUILayout.EnumFlagsField instead.
Make an enum popup selection field for a bitmask.
注意
Deprecated. EnumMaskPopup has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskPopup(GUIContent label, Enum selected, GUIStyle style, params GUILayoutOption[] options)

Parameters

Optional label in front of the field.

selected

The enum options the field shows.

Optional GUIStyle.

Optional layout options.

Returns

Type

Description

EnumThe enum options that has been selected by the user.

Remarks

Takes an enum with the Flags attribute as input parameter and returns the enum values selected by the user.
Additional Resources:EditorGUI.EnumPopup.