Click or drag to resize

LightningGeneratorRandomDirection2D Method

Get a random 2D direction on XY plane

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public Vector3 RandomDirection2D(
	Random r
)

Parameters

r
Type: SystemRandom
Random

Return Value

Type: Vector3
Random unit Vector3
See Also