-
Notifications
You must be signed in to change notification settings - Fork 0
Hooks.Random
Mariusz edited this page Feb 12, 2020
·
3 revisions
Hooks' Random
nested class contains all utility methods based on Randomness.
Returns a random item from a collection.
Returns a Vector2 with all of it's values randomized; Clamped between the two given vectors.
Returns a Vector3 with all of it's values randomized; Clamped between the two given vectors.
Shuffles the list.
Returns a Vector3 with all of it's values being a random value between 0f and 1f.
Returns a Vector3 with all of it's values being a random value between -1f and 1f.