Version: 2020.3

GUIStyle.DrawWithTextSelection

切换到手册
public void DrawWithTextSelection (Rect position, GUIContent content, int controlID, int firstSelectedCharacter, int lastSelectedCharacter);

描述

绘制该 GUIStyle 时,附加选定的内容。