Bounds helpers
More...
Inherits MonoBehaviour.
◆ GetColliderBounds()
static Bounds MoreMountains.Tools.MMBoundsExtensions.GetColliderBounds |
( |
GameObject |
theObject | ) |
|
|
static |
Gets collider bounds for an object (from Collider2D)
- Parameters
-
- Returns
◆ GetRendererBounds()
static Bounds MoreMountains.Tools.MMBoundsExtensions.GetRendererBounds |
( |
GameObject |
theObject | ) |
|
|
static |
Gets bounds of a renderer
- Parameters
-
- Returns
◆ MMRandomPointInBounds()
static Vector3 MoreMountains.Tools.MMBoundsExtensions.MMRandomPointInBounds |
( |
Bounds |
bounds | ) |
|
|
static |
Returns a random point within the bounds set as parameter
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- F:/Github/Store/InventoryEngineStore/Assets/InventoryEngine/MMTools/Core/MMExtensions/MMBoundsExtensions.cs