求两点之间的角度 float radian = Mathf.Atan((p2.y - p1.y)/(p2.x - p1.x)); float angle = radian * 180 / Mathf.PI;