| label | トグルの隣に表示するラベル |
| value | 編集する値 |
| labelStyle | ラベルで使用する GUIStyle オプション |
| options | An optional list of layout options that specify extra layouting properties. Any values passed in here will override settings defined by the style.See Also: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight. |
トグルを左側に、そのすぐ右側にラベルがある Toggle Field を作成します。
EditorGUILayout.ToggleLeft は GUILayout.Toggle に似ていますが、 EditorGUI.showMixedValue プロパティーを尊重し、キーボードフォーカスを他の Editor Control と一貫するように処理します。