Class RngSource
Random number generator source, as a scriptable object.
Implements
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 |