Documentation

Unity Engine

Unity Engine

size

Returns the width and height of the RectInt.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Vector2Int size { get; set; }