Exemple #1
0
 float AngleBetweenPoints(Vector2 a, Vector2 b)
 {
     return(Mathf.Antan2(a.y - b.y, a.x - b.x) * Mathf.Rad2Deg);
 }