public static TweenerCore DOPath(this Transform target, Vector3[] path, float duration, PathType pathType = PathType.Linear, PathMode pathMode = PathMode.Full3D, int resolution = 10, Color? gizmoColor = null);
需要DOTween pro版本的DOTween 然后添加组件 DOTweenPath ,按住shift和Ctrl 可以添加点