WuhuIslandTesting/Library/PackageCache/com.unity.splines@1.0.1/Samples~/Scenes/4 - Instantiate Component
2025-01-07 02:06:59 +01:00
..
README.md initial commit 2025-01-07 02:06:59 +01:00
README.md.meta initial commit 2025-01-07 02:06:59 +01:00
SplineInstantiate.unity initial commit 2025-01-07 02:06:59 +01:00
SplineInstantiate.unity.meta initial commit 2025-01-07 02:06:59 +01:00

Spline Instantiate Sample

This sample demonstrates how prefabs of GameObjects can be instantiated along Splines using the SplineInstantiate component.

  • The Fences object illustrates the use of the Linear Distance instantiation method to precisely follow the spline.

  • The Trees and Grass objects illustrate the use of Offset to move instances away from the spline.

  • PathSpline is a simple illustration of a path instantiation.

  • The Environment GameObject regroup all of these samples in a simple scene to illustrate this.