/// <summary>
/// 两点间等分成几个点
/// </summary>
/// <param name="hasStart">最后的结果包括起点</param>
/// <param name="hasEnd">最后的结果包括终点</param>
/// <param name="count">等分数量</param>
/// <param name="endPoint">终点</param>
/// <param name="startPoint">起点</param>
/// <returns></returns>
private List<Vector2> GetIntervalPoint(bool hasStart, bool hasEnd, int count, Vector2 endPoint, Vector2 startPoint)
{
unity两点间等分成几个点
最新推荐文章于 2022-03-09 11:37:11 发布