Drawing Utilities

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

Note

This page highlights only a few of the utility methods. More methods and overloads can be found in the class documentation.

Bounding boxes

BoundsFrom (gameObject)

Bounding box of a GameObject.

BoundsFrom (points)

Bounding box which contains all points in the array.