first commit
This commit is contained in:
@@ -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.
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb38964df8a4547e491eed342088a596
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 451a8c0e455b44dbb9617882540efb71
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user