getrandomarrayelementunweighted - eisclimber/ExPresS-XR GitHub Wiki
Method in RuntimeUtils
Returns a random element from an array using linear distribution.
public static T GetRandomArrayElementUnweighted<T>(T[] objects)| Name | Description |
|---|---|
T[] objects |
Objects to draw from. |
| Name | Description |
|---|---|
| T | Type of the object to draw. |
A random object from the array.