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

スクリプト言語

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

EditorGUILayout.DelayedTextField

フィードバック

ありがとうございます

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

閉じる

送信に失敗しました

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

閉じる

キャンセル

マニュアルに切り替える
public static function DelayedTextField(text: string, params options: GUILayoutOption[]): string;
public static string DelayedTextField(string text, params GUILayoutOption[] options);
public static function DelayedTextField(text: string, style: GUIStyle, params options: GUILayoutOption[]): string;
public static string DelayedTextField(string text, GUIStyle style, params GUILayoutOption[] options);
public static function DelayedTextField(label: string, text: string, params options: GUILayoutOption[]): string;
public static string DelayedTextField(string label, string text, params GUILayoutOption[] options);
public static function DelayedTextField(label: string, text: string, style: GUIStyle, params options: GUILayoutOption[]): string;
public static string DelayedTextField(string label, string text, GUIStyle style, params GUILayoutOption[] options);
public static function DelayedTextField(label: GUIContent, text: string, params options: GUILayoutOption[]): string;
public static string DelayedTextField(GUIContent label, string text, params GUILayoutOption[] options);
public static function DelayedTextField(label: GUIContent, text: string, style: GUIStyle, params options: GUILayoutOption[]): string;
public static string DelayedTextField(GUIContent label, string text, GUIStyle style, params GUILayoutOption[] options);

パラメーター

label Int Field の前に表示するオプションのラベル
text 編集するテキスト
style オプションの GUIStyle
options 特別なレイアウト対応をするためのレイアウトオプションリスト。ここに渡された値は style で定義された設定を上書きします。
See Also: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.

戻り値

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

説明

Delayed のフィールドを作成します。

EditorGUILayout.TextField に似ていますが、ユーザーがエンターを押すか、テキストフィールドからフォーカスを移動するまで新しい値を返しません。


public static function DelayedTextField(property: SerializedProperty, params options: GUILayoutOption[]): void;
public static void DelayedTextField(SerializedProperty property, params GUILayoutOption[] options);
public static function DelayedTextField(property: SerializedProperty, label: GUIContent, params options: GUILayoutOption[]): void;
public static void DelayedTextField(SerializedProperty property, GUIContent label, params GUILayoutOption[] options);

パラメーター

property 編集する Text プロパティー
label Int Field の前に表示するオプションのラベル。ラベルを非表示にするために GUIContent.none を渡します。
options 特別なレイアウト対応をするためのレイアウトオプションリスト。ここに渡された値は style で定義された設定を上書きします。
See Also: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.

説明

Delayed のフィールドを作成します。

EditorGUILayout.TextField に似ていますが、ユーザーがエンターを押すか、テキストフィールドからフォーカスを移動するまで新しい値を返しません。