文档

Unity Engine

Unity Engine

RectOffset

Creates a new rectangle with offsets.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

RectOffset()

Creates a new rectangle with offsets.
public RectOffset()

RectOffset(int, int, int, int)

Creates a new rectangle with offsets.
public RectOffset(int left, int right, int top, int bottom)

Parameters

left


right


top


bottom