Show / Hide Table of Contents

Class RngSource

Random number generator source, as a scriptable object.

Inheritance
System.Object
RngSource
DefaultRngSource
Implements
IRng
Namespace: FasterGames.Whiskey.Tables
Assembly: cs.temp.dll.dll
Syntax
public abstract class RngSource : ScriptableObject, IRng

Methods

Range(Single, Single)

Generates a random number within a range.

Declaration
public abstract float Range(float minInclusive, float maxInclusive)
Parameters
Type Name Description
System.Single minInclusive

min inclusive number

System.Single maxInclusive

max inclusive number

Returns
Type Description
System.Single

random number

Implements

IRng
In This Article
Back to top Copyright FasterGames ©