33 lines
1.4 KiB
Markdown
33 lines
1.4 KiB
Markdown
# About Splines
|
|
|
|
Work with curves and paths. Use the Splines package to generate objects and behaviors along paths, create trajectories, and draw shapes.
|
|
|
|
The Splines package contains:
|
|
|
|
* The tools to create and manipulate splines in the Unity Editor.
|
|
* The framework to customize the standard spline editing tools in this package.
|
|
* A standard data format and storage model for commonly used splines.
|
|
* Samples of implementations that address common spline use cases, such as creating a road, animating a GameObject's position and rotation along a spline, instantiating prefabs along a spline to create environments, and more.
|
|
|
|
## Supported Unity versions
|
|
|
|
Splines is supported in Unity version 2022.3 and later.
|
|
|
|
## Install Splines
|
|
|
|
Before you can use Splines, you must install the Splines package from the Package Manager.
|
|
|
|
To install this package, follow the instructions in the [Package Manager documentation](https://docs.unity3d.com/Manual/upm-ui-install.html).
|
|
|
|
## Import Splines samples
|
|
|
|
The Splines package contains sample scenes that demonstrate different use cases for splines.
|
|
|
|
To import these sample scenes, you must install the Splines package.
|
|
|
|
To import sample scenes from the Splines package:
|
|
1. Go to **Window** > **Package Manager** to open the Package Manager.
|
|
1. In the Package Manager, select **Splines**.
|
|
1. Expand the **Samples** section.
|
|
1. Next to **Spline Examples**, select **Import**.
|