Version: 2018.2

EditorGUI.MultiPropertyField

Switch to Manual
public static void MultiPropertyField (Rect position, GUIContent[] subLabels, SerializedProperty valuesIterator, GUIContent label);
public static void MultiPropertyField (Rect position, GUIContent[] subLabels, SerializedProperty valuesIterator);

Parameters

position@param position Прямоугольник на экране, использующийся для текстового поля.
valuesIterator@param property SerializedProperty, используемый контролом.
label@param label Необязательный текст перед слайдером. Передайте null, чтобы использовать имя из SerializedProperty. Используйте GUIContent.none, чтобы не отображать текст.
subLabelsArray with small labels to show in front of each float field. There is room for one letter per field only.

Description

Makes a multi-control with several property fields in the same line.

The array of labels determine how many properties are shown. No more than 4 properties should be used. The displayed SerializedProperties must be consecutive. The one provided in the valuesIterator argument should be the first of them.