摘要: Vector3 m = spEndPoint.transform.position - spBeginPoint.transform.position; //获得结束点与开始点的向量,用世界坐标计算float angle = Mathf.Atan2(m.y, m.x) * Mathf.Rad2Deg 阅读全文