first commit

This commit is contained in:
lethanhsonvsp
2025-11-17 15:36:52 +07:00
commit 6f2eafa33c
14093 changed files with 1253472 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# SplineData and Generation sample
The SplineData and Generation sample is a complex sample that uses the `SplineData`, `SplineUtility`, and `SplineEditorUtility` APIs to procedurally generate various spline-based objects in the scene.
To see object generation along a spline that leverages the `SplineUtility.GetPointAtLinearDistance` function, select either the **FenceSpline** or **EvenlySpawnSpline** GameObject and manipulate its spline.
`SplineDataHandles` can be used to customize a road's width and a follower's animation parameters in the Editor. To see `SplineDataHandles` in use, select either the **Road Spline** or **Spline Follower** GameObject and then activate the associated `EditorTool`.
Refer to the `AnimateCarAlongSpline.cs` example script to see how to use the `SplineUtility` and `SplineData` APIs to implement a spline.
Play the SplineData and Generation sample scene to see the `AnimateCarAlongSpline.cs` script in use.

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: eb38964df8a4547e491eed342088a596
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 451a8c0e455b44dbb9617882540efb71
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: