random
Selects a random point from the grid using the provided random number generator.
Return
A randomly selected point, represented as a Vector2
, from the grid's cells.
Parameters
random
The random number generator to use. Defaults to Random.Default
.