Forum Discussion

gausroth's avatar
gausroth
MHCP Mentor
10 months ago

Random Range Int and Float

For those that are used to Unity might recognize this. // returns a random whole number between min (inclusive) and max (exclusive) randomRange(min: number, max: number) { return Math.floor(mi...