Feel  4.3
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMBoundsExtensions Class Reference

Bounds helpers More...

Inheritance diagram for MoreMountains.Tools.MMBoundsExtensions:

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...
 

Detailed Description

Bounds helpers

Member Function Documentation

◆ GetColliderBounds()

static Bounds MoreMountains.Tools.MMBoundsExtensions.GetColliderBounds ( GameObject  theObject)
static

Gets collider bounds for an object (from Collider2D)

Parameters
theObject
Returns

◆ GetRendererBounds()

static Bounds MoreMountains.Tools.MMBoundsExtensions.GetRendererBounds ( GameObject  theObject)
static

Gets bounds of a renderer

Parameters
theObject
Returns

◆ MMRandomPointInBounds()

static Vector3 MoreMountains.Tools.MMBoundsExtensions.MMRandomPointInBounds ( Bounds  bounds)
static

Returns a random point within the bounds set as parameter

Parameters
bounds
Returns

The documentation for this class was generated from the following file: