文档

Unity Engine

Download Unity

Unity Engine

ScreenToGUIRect(Rect)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public static Rect ScreenToGUIRect(Rect screenRect)

Parameters

screenRect

Returns

Type

Description

Rect