BoundsExtensions.RandomPointInside
Extension Method in BoundsExtensions
Declaration
public static Vector3 RandomPointInside(this Bounds bounds)Description
Returns a random point inside the bounds.
Parameters
| bounds | The bounds to get a random point from. |
Returns
| Vector3 | A random point inside the bounds. |
Overload
Declaration
public static Vector3Int RandomPointInside(this BoundsInt bounds)Description
Returns a random point inside the bounds.
Parameters
| bounds | The bounds to get a random point from. |
Returns
| Vector3Int | A random point inside the bounds. |