Version: 2020.1
言語: 日本語
public static void MultiFloatField (Rect position, GUIContent[] subLabels, float[] values);
public static void MultiFloatField (Rect position, GUIContent label, GUIContent[] subLabels, float[] values);

パラメーター

position 表示位置
label Float Field の前に表示するオプションのラベル
subLabels 各 float 型のフィールドの前に表示する小さなラベルの配列。ひとつのフィールドにひとつのレターのためのルームがあります。
values 編集する値の配列

説明

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.