- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Containing Type
- HitData
Syntax
public static float DirectionToAngle(Vector2 direction, bool flipX = false)
Parameters
Name | Type | Description |
---|---|---|
direction | Vector2 | |
flipX | bool |
Return Value
Type | Description |
---|---|
float |