TCI/Library/PackageCache/com.unity.splines@d3e1e500c9a0/Samples~/Scenes/SplinePath/README.md
2025-11-17 15:36:52 +07:00

6 lines
518 B
Markdown

# Spline path sample
This sample showcases the use of the `SplinePath`, `SplineSlice`, and `SplineRange` types. These types can create cohesive paths from collections of partial or complete sections of unrelated splines. See the `NPCSplinePathExample.cs`, `HighwayExample.cs`, and `CameraPathExample.cs` scripts to see how to create a `SplinePath` from multiple splines of the `ISpline` type and evaluate their positions, tangents, and up vectors.
Play the sample scene to see the different `SplinePath`s in action.