Version: 2019.1
public static float DelayedFloatField (Rect position, float value, GUIStyle style= EditorStyles.numberField);
public static float DelayedFloatField (Rect position, string label, float value, GUIStyle style= EditorStyles.numberField);
public static float DelayedFloatField (Rect position, GUIContent label, float value, GUIStyle style= EditorStyles.numberField);

パラメーター

position表示位置
labelFloat Field の前に表示するオプションのラベル
value編集する値
styleオプションの GUIStyle

戻り値

float ユーザーが入力した値。ユーザーがエンターキーを押すか Float Field からフォーカスを移動するまで戻り値は変更されないことに注意してください。

説明

Makes a delayed text field for entering floats.

EditorGUI.FloatField に似ていますが、ユーザーがエンター押すか Float Field からフォーカスを移動するまで新しい値を返しません。


public static void DelayedFloatField (Rect position, SerializedProperty property, GUIContent label= null);

パラメーター

position表示位置
property編集する float プロパティー
labelFloat Field の前に表示するオプションのラベル。ラベルを非表示にする GUIContent.none を渡します。

説明

Makes a delayed text field for entering floats.

EditorGUI.FloatField に似ていますが、ユーザーがエンター押すか Float Field からフォーカスを移動するまで新しい値を返しません。