ドキュメント

Unity Engine

Unity Engine

EnumMaskField

This method is obsolete. Use EditorGUI.EnumFlagsField instead. Makes a field for enum based masks.
読み終わるまでの所要時間 3 分最終更新 1ヶ月前

Definition

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

EnumMaskField(Rect, Enum)

This method is obsolete. Use EditorGUI.EnumFlagsField instead.
Makes a field for enum based masks.
注意
Deprecated. EnumMaskField has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskField(Rect position, Enum enumValue)

Parameters

position

Rectangle on the screen to use for this control.

enumValue

Enum to use for the flags.

Returns

Type

Description

EnumA selection BitMask where each bit represents an Enum value index. (Note this returned value is not itself an Enum).

Remarks

MaskField (EnumMaskField)
Simple window that shows the enum mask field.

EnumMaskField(Rect, Enum, GUIStyle)

This method is obsolete. Use EditorGUI.EnumFlagsField instead.
Makes a field for enum based masks.
注意
Deprecated. EnumMaskField has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskField(Rect position, Enum enumValue, GUIStyle style)

Parameters

position

Rectangle on the screen to use for this control.

enumValue

Enum to use for the flags.

Optional GUIStyle.

Returns

Type

Description

EnumA selection BitMask where each bit represents an Enum value index. (Note this returned value is not itself an Enum).

Remarks

MaskField (EnumMaskField)
Simple window that shows the enum mask field.

EnumMaskField(Rect, string, Enum)

This method is obsolete. Use EditorGUI.EnumFlagsField instead.
Makes a field for enum based masks.
注意
Deprecated. EnumMaskField has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskField(Rect position, string label, Enum enumValue)

Parameters

position

Rectangle on the screen to use for this control.

label

Caption/label for the control.

enumValue

Enum to use for the flags.

Returns

Type

Description

EnumA selection BitMask where each bit represents an Enum value index. (Note this returned value is not itself an Enum).

Remarks

MaskField (EnumMaskField)
Simple window that shows the enum mask field.

EnumMaskField(Rect, string, Enum, GUIStyle)

This method is obsolete. Use EditorGUI.EnumFlagsField instead.
Makes a field for enum based masks.
注意
Deprecated. EnumMaskField has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskField(Rect position, string label, Enum enumValue, GUIStyle style)

Parameters

position

Rectangle on the screen to use for this control.

label

Caption/label for the control.

enumValue

Enum to use for the flags.

Optional GUIStyle.

Returns

Type

Description

EnumA selection BitMask where each bit represents an Enum value index. (Note this returned value is not itself an Enum).

Remarks

MaskField (EnumMaskField)
Simple window that shows the enum mask field.

EnumMaskField(Rect, GUIContent, Enum)

This method is obsolete. Use EditorGUI.EnumFlagsField instead.
Makes a field for enum based masks.
注意
Deprecated. EnumMaskField has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskField(Rect position, GUIContent label, Enum enumValue)

Parameters

position

Rectangle on the screen to use for this control.

Caption/label for the control.

enumValue

Enum to use for the flags.

Returns

Type

Description

EnumA selection BitMask where each bit represents an Enum value index. (Note this returned value is not itself an Enum).

Remarks

MaskField (EnumMaskField)
Simple window that shows the enum mask field.

EnumMaskField(Rect, GUIContent, Enum, GUIStyle)

This method is obsolete. Use EditorGUI.EnumFlagsField instead.
Makes a field for enum based masks.
注意
Deprecated. EnumMaskField has been deprecated. Use EnumFlagsField instead.
public static Enum EnumMaskField(Rect position, GUIContent label, Enum enumValue, GUIStyle style)

Parameters

position

Rectangle on the screen to use for this control.

Caption/label for the control.

enumValue

Enum to use for the flags.

Optional GUIStyle.

Returns

Type

Description

EnumA selection BitMask where each bit represents an Enum value index. (Note this returned value is not itself an Enum).

Remarks

MaskField (EnumMaskField)
Simple window that shows the enum mask field.