Class ParticlesUtil
Inheritance
System.Object
ParticlesUtil
Namespace: Unity.Tiny.Particles
Syntax
public static class ParticlesUtil
Methods
Random01()
Declaration
public static float Random01()
Returns
| Type | Description |
|---|---|
| System.Single |
RandomPointInRect(Rect)
Declaration
public static float2 RandomPointInRect(Rect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect |
Returns
| Type | Description |
|---|---|
| float2 |
RandomRange(Range)
Declaration
public static float RandomRange(Range range)
Parameters
| Type | Name | Description |
|---|---|---|
| Range | range |
Returns
| Type | Description |
|---|---|
| System.Single |