DOLocalPath Method
DOLocalPath(Transform, Vector3[], float, PathType, PathMode, int, Color?)
public static TweenerCore<Vector3, Path, PathOptions> DOLocalPath(this Transform target, Vector3[] path, float duration, PathType pathType = PathType.Linear, PathMode pathMode = PathMode.Full3D, int resolution = 10, Color? gizmoColor = null)
Parameters
targetTransformpathVector3[]durationfloatpathTypePathTypepathModePathModeresolutionintgizmoColorColor?
Returns
- TweenerCore<Vector3, Path, PathOptions>
DOLocalPath(Transform, Path, float, PathMode)
public static TweenerCore<Vector3, Path, PathOptions> DOLocalPath(this Transform target, Path path, float duration, PathMode pathMode = PathMode.Full3D)
Parameters
Returns
- TweenerCore<Vector3, Path, PathOptions>