Version: 2020.3

GUIUtility.GUIToScreenRect

切换到手册
public static Rect GUIToScreenRect (Rect guiRect);

描述

将矩形从 GUI 位置转换到屏幕空间。