Drawing Utilities

The DrawingUtilities class contains a few useful utilities. They are particularly useful for quick and easy debug visualizations.

Bounding boxes

BoundsFrom (gameObject)

Bounding box of a GameObject.

BoundsFrom (points)

Bounding box which contains all points in the array.