Method GetTurnAmount
GetTurnAmount(Vector2)
Determines the turn amount in degrees for the given input vector.
Declaration
protected virtual float GetTurnAmount(Vector2 input)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | input | Input vector, such as from a thumbstick. |
Returns
| Type | Description |
|---|---|
| float | Returns the turn amount in degrees for the given |