public static void MultiFloatField (Rect position, GUIContent[] subLabels, float[] values);
public static void MultiFloatField (Rect position, GUIContent label, GUIContent[] subLabels, float[] values);

Parameters

position屏幕上用于浮点字段的矩形。
label(可选)显示在浮点字段前的标签。
subLabels显示在每个浮点字段前的小标签的数组。每个字段只有一个字母的空间。
values要编辑的值的数组。

Description

Makes a multi-control with text fields for entering multiple floats in the same line.

The height of the multi-control depends on the total width of its editor window. The control is drawn within the specified rectangle (position). If the control does not fit, it is drawn outside the rectangle. See Also: EditorGUIUtility.wideMode.