Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

EditorGUI.DelayedIntField

フィードバック

ありがとうございます

この度はドキュメントの品質向上のためにご意見・ご要望をお寄せいただき、誠にありがとうございます。頂いた内容をドキュメントチームで確認し、必要に応じて修正を致します。

閉じる

送信に失敗しました

なんらかのエラーが発生したため送信が出来ませんでした。しばらく経ってから<a>もう一度送信</a>してください。ドキュメントの品質向上のために時間を割いて頂き誠にありがとうございます。

閉じる

キャンセル

マニュアルに切り替える
public static function DelayedIntField(position: Rect, value: int, style: GUIStyle = EditorStyles.numberField): int;
public static int DelayedIntField(Rect position, int value, GUIStyle style = EditorStyles.numberField);
public static function DelayedIntField(position: Rect, label: string, value: int, style: GUIStyle = EditorStyles.numberField): int;
public static int DelayedIntField(Rect position, string label, int value, GUIStyle style = EditorStyles.numberField);
public static function DelayedIntField(position: Rect, label: GUIContent, value: int, style: GUIStyle = EditorStyles.numberField): int;
public static int DelayedIntField(Rect position, GUIContent label, int value, GUIStyle style = EditorStyles.numberField);

パラメーター

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

戻り値

int ユーザーに入力される値。ユーザーがエンターを押すか Int Field からフォーカスを移動するまで新しい値を返しません。

説明

整数を入力するための Delayed Text Field を作成します。

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


public static function DelayedIntField(position: Rect, property: SerializedProperty, label: GUIContent = null): void;
public static void DelayedIntField(Rect position, SerializedProperty property, GUIContent label = null);

パラメーター

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

説明

ユーザーに入力される値。ユーザーがエンターを押すか Int Field からフォーカスを移動するまで新しい値を返しません。

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