![]() |
Obi
7.0.5
Unified particle physics for Unity
|
Public Member Functions | |
| void | OnEnable () |
| void | CirclePreset (int segments) |
Static Public Member Functions | |
| static int | SnapTo (float val, int snapInterval, int threshold) |
Public Attributes | |
| List< Vector2 > | vertices |
| int | snapX = 0 |
| int | snapY = 0 |
Properties | |
| int | Segments [get] |
|
static |
Snaps a float value to the nearest multiple of snapInterval.