Method Divide
Divide(Vector2, Single)
Scales a vector by the given value.
Declaration
public static Vector2 Divide(Vector2 value, float scale)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | value | The vector to scale. |
| System.Single | scale | The amount by which to scale the vector. |
Returns
| Type | Description |
|---|---|
| Vector2 | The scaled vector. |