Summary
Snaps the given `value` to a grid with the specified `snap` size.
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static float Snap(float value, float snap)
Parameters
| Name | Type | Description |
|---|---|---|
| value | float | |
| snap | float |
Return Value
| Type | Description |
|---|---|
| float |