文档

Unity Engine

Unity Engine

ScreenToGUIRect(Rect)

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

Definition

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

Parameters

screenRect

Returns

Type

Description

Rect