initial commit
This commit is contained in:
parent
6715289efe
commit
788c3389af
37645 changed files with 2526849 additions and 80 deletions
|
|
@ -0,0 +1,9 @@
|
|||
# SplineData and Generation Sample
|
||||
|
||||
This is a more complex sample that makes heavy use of `SplineData`, `SplineUtility` and `SplineEditorUtility` APIs to proceduraly generate various spline-based objects in the scene.
|
||||
|
||||
Select `FenceSpline` or `EvenlySpawnSpline` game objects and manipulate the spline to see object generation along spline that leverages `SplineUtility.GetPointAtLinearDistance` function.
|
||||
|
||||
Select `Road Spline` or `Spline Follower` game objects to see `SplineDataHandles` in action and how they can be used to enable in-editor customization of road's width and follower's animation parameters. See `AnimateCarAlongSpline.cs` example script on how a spline follower can be implemented using `SplineUtility` and `SplineData` APIs.
|
||||
|
||||
Enter playmode to see the `AnimateCarAlongSpline.cs` script in action.
|
||||
|
|
@ -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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue