DrawBitMaskField() 공개 정적인 메소드

public static DrawBitMaskField ( Rect aPosition, int aMask, System aType, GUIContent aLabel ) : int
aPosition Rect
aMask int
aType System
aLabel GUIContent
리턴 int
예제 #1
0
    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);
    }