EditorGUI
- actionKey
- BoundsField
- ColorField
- CurveField
- DrawPreviewTexture
- DrawTextureAlpha
- DropShadowLabel
- EnumPopup
- FloatField
- Foldout
- indentLevel
- InspectorTitlebar
- IntField
- IntPopup
- IntSlider
- LabelField
- LayerField
- MinMaxSlider
- ObjectField
- PasswordField
- Popup
- PrefixLabel
- ProgressBar
- PropertyField
- RectField
- SelectableLabel
- Slider
- TagField
- TextArea
- TextField
- Toggle
- Vector2Field
- Vector3Field
- Vector4Field
EditorGUI.SelectableLabel 可选择标签
static function SelectableLabel (position : Rect, text : String, style : GUIStyle = EditorStyles.label) : void
Parameters参数
- positionRectangle on the screen to use for the field.
屏幕上的矩形区域 - textThe text to show. // 显示的文本
-
objThe object the field shows. // 字段显示的物体
- styleOptional GUIStyle. // 可选样式
Description描述
Make a selectable label field. (Useful for showing read-only info that can be copy-pasted.)
制作一个可选择标签字段。(通常用于显示只读信息,可以被复制粘贴)
最后修改:2011年10月4日 Tuesday 10:22