EditorGUI 控件常用的 GUIStyles。
| boldFont | 粗体字体。 |
| boldLabel | 粗体标签的样式。 |
| centeredGreyMiniLabel | 居中且为灰色的迷你字体标签的样式。 |
| colorField | 颜色字段标题使用的样式。 |
| foldout | EditorGUI.Foldout 标题使用的样式。 |
| foldoutHeader | EditorGUILayout.BeginFoldoutHeaderGroup 标题使用的样式。 |
| foldoutHeaderIcon | EditorGUILayout.BeginFoldoutHeaderGroup 图标使用的样式。 |
| foldoutPreDrop | EditorGUI.Foldout 标题使用的样式。 |
| helpBox | EditorGUI.HelpBox 背景框使用的样式。 |
| iconButton | 独立图标按钮使用的样式。 |
| inspectorDefaultMargins | 使用此样式将内容包装在垂直组中,以获取 Inspector 中使用的默认边距。 |
| inspectorFullWidthMargins | 使用此样式将内容包装在垂直组中,以获取 Inspector 中的完整宽度边距。 |
| label | 所有采用前缀标签的 EditorGUI 重载中使用的标签样式。 |
| largeLabel | 大字体标签的样式。 |
| layerMaskField | 图层蒙版标题使用的样式。 |
| linkLabel | 链接使用的样式。 |
| miniBoldFont | 迷你粗体字体。 |
| miniBoldLabel | 迷你粗体标签的样式。 |
| miniButton | 独立小按钮使用的样式。 |
| miniButtonLeft | 水平按钮组中最左侧按钮使用的样式。 |
| miniButtonMid | 水平组中中间按钮使用的样式。 |
| miniButtonRight | 水平组中最右侧按钮使用的样式。 |
| miniFont | 迷你字体。 |
| miniLabel | 小字体标签的样式。 |
| miniPullDown | 下拉控件使用的样式。 |
| miniTextField | 较小的文本字段。 |
| numberField | 数字字段编辑器使用的样式。 |
| objectField | 对象字段标题使用的样式。 |
| objectFieldMiniThumb | 具有缩略图(例如纹理)的对象字段使用的样式。 |
| objectFieldThumb | 对象字段中“选择”按钮标题使用的样式。 |
| popup | EditorGUI.Popup、EditorGUI.EnumPopup 等使用的样式。 |
| radioButton | 单选按钮使用的样式。 |
| selectionRect | 在 SceneView 中绘制选区使用的样式。 |
| standardFont | 标准字体。 |
| textArea | EditorGUI.TextArea 使用的样式。 |
| textField | EditorGUI.TextField 使用的样式。 |
| toggle | EditorGUI.Toggle 标题使用的样式。 |
| toggleGroup | EditorGUILayout.BeginToggleGroup 标题使用的样式。 |
| toolbar | 窗口顶部的工具栏背景。 |
| toolbarButton | 工具栏中按钮和切换按钮的样式。 |
| toolbarDropDown | 工具栏下拉菜单。 |
| toolbarPopup | 工具栏弹出菜单。 |
| toolbarSearchField | 工具栏搜索字段。 |
| toolbarTextField | 工具栏文本字段。 |
| whiteBoldLabel | 白色粗体标签的样式。 |
| whiteLabel | 白色标签的样式。 |
| whiteLargeLabel | 白色大标签的样式。 |
| whiteMiniLabel | 白色迷你标签的样式。 |
| wordWrappedLabel | 自动换行标签的样式。 |
| wordWrappedMiniLabel | 自动换行迷你标签的样式。 |