|
Infinite Runner Engine
v2.1
|
Bounds helpers More...
Static Public Member Functions | |
| static Vector3 | MMRandomPointInBounds (Bounds bounds) |
| Returns a random point within the bounds set as parameter More... | |
| static Bounds | GetColliderBounds (GameObject theObject) |
| Gets collider bounds for an object (from Collider2D) More... | |
| static Bounds | GetRendererBounds (GameObject theObject) |
| Gets bounds of a renderer More... | |
Bounds helpers
|
static |
Gets collider bounds for an object (from Collider2D)
| theObject |
|
static |
Gets bounds of a renderer
| theObject |
|
static |
Returns a random point within the bounds set as parameter
| bounds |