Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bounds

The world space bounding area of the collider.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Bounds bounds { get; }

Remarks

Note that this will be an empty bounding box if the collider is disabled or the game object is inactive.