This is the Random class that you can use to implement fairness in your game Use this Random function for variables that can affect gameplay.
More...
This is the Random class that you can use to implement fairness in your game Use this Random function for variables that can affect gameplay.
static Vector2 SkillzCrossPlatform.Random.InsideUnitCircle |
( |
| ) |
|
|
inlinestatic |
Find a point inside the unit circle using Value()
static Vector3 SkillzCrossPlatform.Random.InsideUnitSphere |
( |
| ) |
|
|
inlinestatic |
Find a point inside the unit sphere using Value()
static Vector3 SkillzCrossPlatform.Random.OnUnitSphere |
( |
| ) |
|
|
inlinestatic |
Hybrid rejection / trig method to generate points on a sphere using Value()
static float SkillzCrossPlatform.Random.Range |
( |
float |
min, |
|
|
float |
max |
|
) |
| |
|
inlinestatic |
static int SkillzCrossPlatform.Random.Range |
( |
int |
min, |
|
|
int |
max |
|
) |
| |
|
inlinestatic |
static Quaternion SkillzCrossPlatform.Random.Rotation |
( |
| ) |
|
|
inlinestatic |
static Quaternion SkillzCrossPlatform.Random.RotationUniform |
( |
| ) |
|
|
inlinestatic |
static float SkillzCrossPlatform.Random.Value |
( |
| ) |
|
|
inlinestatic |
Value from Skillz random (if a Skillz game), or Unity random (if not a Skillz game)
The documentation for this class was generated from the following file:
- /Users/Shared/jenkins-slave/workspace/SDK-OLD/Cross-Platform-SDK/Cross-Platform-Unity-Package/UnityTestApps/Unity/Assets/Skillz/SkillzCrossPlatform.cs