Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


size

The total size of the box.
Read time 1 minuteLast updated 6 days ago

Definition

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

Remarks

size.x is the width, size.y is the height and size.z is the depth of the box.