文档

Unity Engine

Unity Engine

GUIToScreenRect(Rect)

Convert a rect from GUI position to screen space.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public static Rect GUIToScreenRect(Rect guiRect)

Parameters

guiRect

Returns

Type

Description

Rect