public static void SelectableLabel (Rect position, string text, GUIStyle style= EditorStyles.label);

Parameters

position屏幕上用于标签的矩形。
text要显示的文本。
style可选 GUIStyle

Description

Makes a selectable label field. (Useful for showing read-only info that can be copy-pasted.)