Beispiel #1
0
        private void DrawEnumMaskField(Rect position, SerializedProperty property, int index, string text)
        {
            var fieldRect = new Rect(position.x + 5, position.y + lineHeight * index, position.width - 5, lineHeight);

            property.intValue = PoolUtils.DrawBitMaskField(fieldRect, property.intValue, typeof(ComponentHandlingType), new GUIContent(text));
        }