| position | 表示位置 | 
| enumValue | フラグに使用する enum | 
| style | オプションの GUIStyle | 
| label | コントロールの Caption と label | 
Enum ユーザーによって設定された値
マスクに基づく enum のフィールドを作成します。
        
        
Simple window that shows the enum mask field.
class SimpleEnumMaskUsage extends EditorWindow { @MenuItem("Examples/Mask Field Usage") static function Init() { var window = GetWindow(SimpleEnumMaskUsage); window.Show(); }
var staticFlagMask : StaticEditorFlags = 0; function OnGUI() { staticFlagMask = EditorGUI.EnumMaskField ( new Rect (0, 0, 300, 20), "Static Flags", staticFlagMask ); } }