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

16 lines
872 B
Markdown

# Animate Component sample
This sample demonstrates how the **Spline Animate** component can animate the position and rotation of a GameObject along a spline.
In the scene, the child GameObjects of **NoEasing** move linearly, while the child GameObjects of **WithEasing** have quadratic in and out easing. In addition, each parent's animated GameObjects have different loop modes.
Inspect GameObjects whose name begins with **AnimateObject** for more detail and for an example of how to configure the **Spline Animate** component.
To view the animations of the **Spline Animate** component in the Game view, enter Play mode.
To view the animations of the **Spline Animate** component in the Scene view:
1. Select a GameObject whose name begins with **AnimateObject**.
2. In the Inspector, click **Play** in the **Spline Animate** component's **Preview** panel.