Summary
Returns a vector representing the specified `direction`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Directions
Syntax
public static Vector2 ToVector2(this Direction2 direction)
Parameters
| Name | Type | Description |
|---|---|---|
| direction | Direction2 |
Return Value
| Type | Description |
|---|---|
| Vector2 |