EditorGUI.SelectableLabel

声明

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

参数

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

描述

创建一个可选择的标签字段。(对于显示可复制粘贴的只读信息很有用。)


Did you find this page useful? Please give it a rating: