public static void DrawArrow(float aX1, float aY1, float aX2, float aY2, Color aColor, float aSize = 0.5f) { Vector2 p1 = new Vector2(aX1, aY1); Vector2 p2 = new Vector2(aX2, aY2); Vector2 p3 = MathUtils.RotatePointDeg(p2.x + aSize, p2.y, p2.x, p2.y, MathUtils.AngleDeg(aX1, aY1, aX2, aY2) - 145f); Vector2 p4 = MathUtils.RotatePointDeg(p2.x + aSize, p2.y, p2.x, p2.y, MathUtils.AngleDeg(aX1, aY1, aX2, aY2) + 145f); DrawPath(new Vector2[5] { p1, p2, p3, p4, p2 }, aColor); }