Skip to main content

ShowBounds

A class in Root.Township, the global namespace.

Editor helper that draws the bounds of this object's mesh as a wire box when selected.

Constructors​

MemberWhat it is
ShowBounds()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

1 private and internal method
MemberWhat it is
private void OnDrawGizmosSelected()Draws the MeshFilter mesh's bounds in local space.