Click or drag to resize

LightningGeneratorRandomDirection2D Method

Get random 2D direction in XY plane

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

Parameters

random
Type: SystemRandom
Random

Return Value

Type: Vector3
Random 2D direction
See Also