Skip to main content

Random

UnityEngine.Random · Official documentation

Scripts can use these 13 members of Random. Anything not listed here is a compile error when you build your world.

Properties and fields​

NameAccess
insideUnitCircleread only
insideUnitSphereread only
onUnitSphereread only
rotationread only
rotationUniformread only
valueread only

Methods​

MethodParameters
ColorHSV()
ColorHSV(float, float)
ColorHSV(float, float, float, float)
ColorHSV(float, float, float, float, float, float)
ColorHSV(float, float, float, float, float, float, float, float)
Range(int, int)
Range(float, float)