Table of Contents

Method Bool

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

Bool(float)

Generates a random bool, true with the given probability.

public static bool Bool(float probability)

Parameters

probability float

Returns

bool