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.)
制作一个可选择标签字段。(通常用于显示只读信息,可以被复制粘贴)