Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


size

Returns the width and height of the RectInt.
Read time 1 minuteLast updated 6 days ago

Definition

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