EditorStyles

class in UnityEditor

Switch to Manual

Description

Common GUIStyles used for EditorGUI controls.

Static Variables

boldFontBold font.
boldLabelStyle for bold label.
centeredGreyMiniLabelStyle for label with small font which is centered and grey.
colorFieldStyle used for headings for Color fields.
foldoutStyle used for headings for EditorGUI.Foldout.
foldoutPreDropStyle used for headings for EditorGUI.Foldout.
helpBoxStyle used for background box for EditorGUI.HelpBox.
inspectorDefaultMarginsWrap content in a vertical group with this style to get the default margins used in the Inspector.
inspectorFullWidthMarginsWrap content in a vertical group with this style to get full width margins in the Inspector.
labelStyle used for the labelled on all EditorGUI overloads that take a prefix label.
largeLabelStyle for label with large font.
layerMaskFieldStyle used for headings for Layer masks.
miniBoldFontMini Bold font.
miniBoldLabelStyle for mini bold label.
miniButtonStyle used for a standalone small button.
miniButtonLeftStyle used for the leftmost button in a horizontal button group.
miniButtonMidStyle used for the middle buttons in a horizontal group.
miniButtonRightStyle used for the rightmost button in a horizontal group.
miniFontMini font.
miniLabelStyle for label with small font.
miniPullDownStyle used for the drop-down controls.
miniTextFieldSmaller text field.
numberFieldStyle used for field editors for numbers.
objectFieldStyle used for headings for object fields.
objectFieldMiniThumbStyle used for object fields that have a thumbnail (e.g Textures).
objectFieldThumbStyle used for headings for the Select button in object fields.
popupStyle used for EditorGUI.Popup, EditorGUI.EnumPopup,.
radioButtonStyle used for a radio button.
standardFontStandard font.
textAreaStyle used for EditorGUI.TextArea.
textFieldStyle used for EditorGUI.TextField.
toggleStyle used for headings for EditorGUI.Toggle.
toggleGroupStyle used for headings for EditorGUILayout.BeginToggleGroup.
toolbarToolbar background from top of windows.
toolbarButtonStyle for Button and Toggles in toolbars.
toolbarDropDownToolbar Dropdown.
toolbarPopupToolbar Popup.
toolbarTextFieldToolbar text field.
whiteBoldLabelStyle for white bold label.
whiteLabelStyle for white label.
whiteLargeLabelStyle for white large label.
whiteMiniLabelStyle for white mini label.
wordWrappedLabelStyle for word wrapped label.
wordWrappedMiniLabelStyle for word wrapped mini label.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961