Skip to content

Commit

Permalink
Minor documentation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreylanters committed Jun 26, 2024
1 parent a0a4594 commit a9a39fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ var tween = new ExampleTween {

### Dont Invoke When Destroyed

The don't invoke when destroyed option defines whether the Tween will invoke the delegates when the component is not longer present in the scene. When not set, all delegates will be invoked even when the component is destroyed.
The don't invoke when destroyed option defines whether the Tween should invoke the delegates when the component is no longer present in the scene. When not set, all delegates will be invoked even when the component is destroyed.

```cs
bool dontInvokeWhenDestroyed;
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Core/Tween.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public abstract class Tween {
public FillMode fillMode = FillMode.Backwards;
/// <summary>The animation curve defines how the Tween will animate. The animation curve can be used to create custom ease types. When the animation curve is not set, the Tween will animate according to the Ease Type.</summary>
public AnimationCurve animationCurve;
/// <summary>The don't invoke when destroyed option defines whether the Tween will invoke the delegates when the component is not longer present in the scene. When not set, all delegates will be invoked even when the component is destroyed.</summary>
/// <summary>The don't invoke when destroyed option defines whether the Tween should invoke the delegates when the component is no longer present in the scene. When not set, all delegates will be invoked even when the component is destroyed.</summary>
public bool dontInvokeWhenDestroyed;
}

Expand Down

0 comments on commit a9a39fe

Please sign in to comment.