Show / Hide Table of Contents

Class ColliderUtilities

Contains utility functions related to Colliders

Inheritance
object
ColliderUtilities
Namespace: WeaverCore.Utilities
Assembly: WeaverCore.dll
Syntax
public static class ColliderUtilities

Methods

| Edit this page View Source

GetBoundsSafe(PolygonCollider2D)

Gets the world space boundaries of a polygon collider

Declaration
public static Bounds GetBoundsSafe(this PolygonCollider2D collider2D)
Parameters
Type Name Description
PolygonCollider2D collider2D

The collider to get the bounds of

Returns
Type Description
Bounds

Returns the boundaries of the polygon collider

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾