public static DrawBitMaskField ( Rect aPosition, int aMask, System aType, GUIContent aLabel ) : int | ||
aPosition | Rect | |
aMask | int | |
aType | System | |
aLabel | GUIContent | |
return | int |
public override void OnGUI(Rect position, SerializedProperty prop, GUIContent label) { var typeAttr = attribute as BitMaskAttribute; prop.intValue = EditorExtensions.DrawBitMaskField(position, prop.intValue, typeAttr.propType, label); }