Skip to content

Commit 189ad5a

Browse files
author
Unity Technologies
committed
com.unity.splines@2.8.1
## [2.8.1] - 2025-03-28 ### Bug Fixes - [SPLB-345] Fixed a bug which was causing null reference exceptions during shutdown in IL2CPP builds. - [SPLB-337] Fixed a bug where `JoinSplinesOnKnots` would throw a null reference exception when one of the splines was linked with another spline. - [SPLB-341] Fixed a bug where changing the tangent mode on a knot on a prefab would not persist when entering play mode. ### Changed - Internal code cleanup to align with release standards.
1 parent 3781d40 commit 189ad5a

File tree

122 files changed

+667
-1667
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+667
-1667
lines changed

.buginfo

Lines changed: 0 additions & 5 deletions
This file was deleted.

.signature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":1741897510,"signature":"Itv7c88l9l5EIPQvGXw9a58tYRx5himOYcdmeXoqW7TXwMs4XK77UECFmujjtH3bkm6EGFrXWkZ1MOPw6rVQzRKQcu9jiSWv8V7TZfjcCq8ci8pKIu5qk5rN/Mqw4DdR+tUzc0A2Q9o0RxENktaOPdwOFSnomsQNcAtdyXH7zWdPRrxHIpqcMp6npnWpoKZUTSAZUFuzO9grc5yEnxxJ054sicUAJhPxREF6O1VXq1pBT02k97Yf1nVXLASFMXUzx3oi+QcE4RPcND6xegVIriKYDxEyHob7TWKJGA8L4Y3exGBWXQXjFK2Bwc3s5sNRV8O70MBWkb3Mfunfi0I4rWZDoC7sicd6PrR7TrMJYJlNF28mOsCXUxvfS5nRecsXzNmCYEuhKwVyYnKfFPzKfs1mBFdKTvDD5YPlmnWHSzoHkIxzGR6IvIP74XhRR3EbPWzMpQXdi9gRU+S1xVPUW0HkQPGU9pCNgpnbPbf1L13Dy7/4OaWUMQxeS3M3XyO8","publicKey":"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQm9qQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FZOEFNSUlC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changed: 38 additions & 28 deletions
Large diffs are not rendered by default.

Documentation~/TableOfContents.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
* [Animate a GameObject along a spline](animate-spline.md)
1616
* [Change the alignment of an animated GameObject](animate-alignment.md)
1717
* [Configure the movement of a GameObject](animate-movement.md)
18-
* [Spline Animate component reference](animate-component.md)
18+
* [Spline Animate component reference](animate-component.md)
1919
* [Extrude a mesh along a spline](extrude.md)
2020
* [Create a 3D mesh along a spline](extrude-mesh.md)
2121
* [Extrude a spline at runtime](extrude-runtime.md)
2222
* [Spline Extrude component reference](extrude-component.md)
23-
* [Spline Element Inspector overlay reference](element-inspector.md)
23+
* [Spline Element Inspector overlay reference](element-inspector.md)
2424
* [Spline component reference](spline-component.md)
2525
* [Spline Instantiate component reference](instantiate-component.md)
2626

Documentation~/animate-alignment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Change the orientation and alignment of the animated GameObject
22

3-
Select the orientation and alignment that a GameObject uses when it animates along a spline.
3+
Select the orientation and alignment that a GameObject uses when it animates along a spline.
44

55
To change the orientation and alignment of the animated GameObject, do the following in the GameObject's **Spline Animate** component:
66

77
1. In the **Up Axis** dropdown, select which axis the animated GameObject uses as its up direction. The y-axis is the default up direction.
8-
1. In the **Forward Axis** dropdown, select which axis the animated GameObject uses as its forward direction. The z-axis is the default forward direction.
8+
1. In the **Forward Axis** dropdown, select which axis the animated GameObject uses as its forward direction. The z-axis is the default forward direction.
99
1. In the **Align To** dropdown, select a space to orient the animated GameObject to:
1010
* Select **None** to set no alignment for the animated GameObject. The GameObject's rotation is unaffected.
1111
* Select **Spline Element** to align animated GameObjects to an interpolated orientation calculated from the rotation of the knots closest to its position.

Documentation~/animate-component.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Spline Animate component reference
2-
3-
Use the Spline Animate component to animate the position and rotation of a GameObject along a spline.
4-
5-
2+
3+
Use the Spline Animate component to animate the position and rotation of a GameObject along a spline.
4+
5+
66
| **Property** | **Description** |
77
| :-------------------- | :------------------------ |
88
| **Spline** | Select a GameObject that has an attached Spline component you want to animate on. |

Documentation~/animate-movement.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
# Configure an animated GameObject's movement
1+
# Configure an animated GameObject's movement
22

3-
Control how an animation begins on a spline, its speed, and the animation method it uses.
3+
Control how an animation begins on a spline, its speed, and the animation method it uses.
44

55
To control the movement of an animated GameObject, do the following in the GameObject's **Spline Animate** component:
66

7-
1. To start the animation when the GameObject first loads, enable **Play On Awake**.
7+
1. To start the animation when the GameObject first loads, enable **Play On Awake**.
88
1. To set a distance on the spline to start the GameObject's animation at, enter a value for the **Start Offset** property. The range is 0 through 1. A value of 0 starts the animation at the beginning of the spline and a value of 1 starts the animation at the end of the spline.
99
1. In the **Method** dropdown, select an animation method:
1010
* Select **Time** to animate the GameObject along the spline over a period of time measured in seconds.
11-
* Select **Speed** to animate the GameObject along the spline at a set speed measured in meters per second.
11+
* Select **Speed** to animate the GameObject along the spline at a set speed measured in meters per second.
1212
1. In the **Easing** dropdown, select an easing mode for the animation to use:
1313
* Select **None** to add no easing to the animation. The animation speed is linear.
1414
* Select **Ease In Only** to have the animation start slowly and then speed up.
1515
* Select **Ease Out Only** to have the animation slow down at the end of its sequence.
1616
* Select **Ease In-Out** to have the animation start slowly, speed up, and then end slowly. **Ease In-Out** is a combination of **Ease In** and **Ease Out**.
1717

18-
> [!NOTE]
18+
> [!NOTE]
1919
> Easing varies the speed of the animation to make it seem more natural and organic.
2020
2121
1. In the **Loop Mode** dropdown, select if and how the animation repeats after its initial sequence finishes:
22-
* Select **Once** to play the animation once.
23-
* Select **Loop Continuous** to restart the animation from the beginning after it finishes.
24-
* Select **Ease In Then Continuous** to have the animation start slowly and then restart from its beginning after it finishes. If **Ease In Only** looping is set, then the easing applies only to the first animation loop.
25-
* Select **Ping Pong** to have the animation play in reverse after it finishes. The animation plays repeatedly.
22+
* Select **Once** to play the animation once.
23+
* Select **Loop Continuous** to restart the animation from the beginning after it finishes.
24+
* Select **Ease In Then Continuous** to have the animation start slowly and then restart from its beginning after it finishes. If **Ease In Only** looping is set, then the easing applies only to the first animation loop.
25+
* Select **Ping Pong** to have the animation play in reverse after it finishes. The animation plays repeatedly.
2626

2727
## Additional resources
2828

Documentation~/animate-spline.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
Move a GameObject along a spline.
44

5-
Use the [Spline Animate](animate-component.md) component to define the movement of cameras, characters, or other GameObjects in the Editor.
5+
Use the [Spline Animate](animate-component.md) component to define the movement of cameras, characters, or other GameObjects in the Editor.
66

7-
You must have a GameObject with a **Spline** component attached to it in your scene to select as the target spline for the **Spline Animate** component.
7+
You must have a GameObject with a **Spline** component attached to it in your scene to select as the target spline for the **Spline Animate** component.
88

9-
By default, the **Spline Animate** component uses the **Time** method to animate a GameObject with set to complete after 1 second. To change what animation method your GameObject uses and how it moves along its target spline, refer to **[Configure the movement of a GameObject](animate-movement.md)**.
9+
By default, the **Spline Animate** component uses the **Time** method to animate a GameObject with set to complete after 1 second. To change what animation method your GameObject uses and how it moves along its target spline, refer to **[Configure the movement of a GameObject](animate-movement.md)**.
1010

1111
To animate a GameObject along a spline:
1212

13-
1. Add the **Spline Animate** component to a GameObject that you want to animate along a spline.
14-
1. In the **Spline Animate** component, for the **Spline** property, select a GameObject that has an attached Spline component that you want to animate on.
13+
1. Add the **Spline Animate** component to a GameObject that you want to animate along a spline.
14+
1. In the **Spline Animate** component, for the **Spline** property, select a GameObject that has an attached Spline component that you want to animate on.
1515
1. To view the animation in the Scene view, select **Play** in the **Spline Animate** component's **Preview** panel.
1616

1717

Documentation~/animate.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Animate along a spline
2-
2+
33
Move a GameObject along a spline.
44

5-
To refer to a sample scene that demonstrates how the **Spline Animate** component can animate the position and rotation of a GameObject along a spline, [import the **Animate Component** sample scene](index.md#import-splines-samples).
5+
To refer to a sample scene that demonstrates how the **Spline Animate** component can animate the position and rotation of a GameObject along a spline, [import the **Animate Component** sample scene](index.md#import-splines-samples).
66

77

88
| **Topic** | **Description** |
99
| :-------------------- | :----------------------- |
1010
| **[Animate a GameObject along a spline](animate-spline.md)** | Use the Spline Animate component to move a GameObject along a spline. |
11-
| **[Change the alignment of an animated GameObject](animate-alignment.md)** | Specify how a GameObject orients and aligns to the spline it's animated on. |
11+
| **[Change the alignment of an animated GameObject](animate-alignment.md)** | Specify how a GameObject orients and aligns to the spline it's animated on. |
1212
| **[Configure the movement of a GameObject](animate-movement.md)** | Control how an animation begins on a spline, the speed of the animation, and the animation method it uses. |
1313
| **[Spline Animate component reference](animate-component.md)** | Understand the properties of the Spline Animate component. |

Documentation~/api_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class EvaluateSpline : MonoBehaviour
4949

5050
[SerializeField]
5151
GameObject m_Prefab;
52-
52+
5353
void Start()
5454
{
5555
Spline spline = GetComponent<SplineContainer>()[0];

0 commit comments

Comments
 (0)