Click or drag to resize

GLRandomBool Method

Generates a random bool, true with the given probability.

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static bool Bool(
	float probability
)

Parameters

probability
Type: SystemSingle

Return Value

Type: Boolean
See Also