EditorGUILayout.SelectableLabel 可选择标签
static function SelectableLabel (text : String, params options : GUILayoutOption[]) : void
static function SelectableLabel (text : String, style : GUIStyle, params options : GUILayoutOption[]) : void
Parameters参数
- textThe text to show. // 显示的文本
- styleOptional GUIStyle. // 可选样式
- optionsAn 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
指定额外布局属性的可选列表。这里传递任意值,将覆盖样式定义的设置。
Description描述
Make a selectable label field. (Useful for showing read-only info that can be copy-pasted.)
制作一个可选择标签字段。(通常用于显示只读信息,可以被复制粘贴)