Skip to content
Discussion options

You must be logged in to vote

Hey! The 'startFromCurrent' is not exposed in the Inspector because it would make the 'startValue' redundant. In the vast majority of cases, TweenSettings is used when both start and end values are required for the animation. But when 'startFromCurrent == true' it means 'startValue' should be ignored.

I envisioned that TweenSettings should be used together with the WithDirection(bool toEndValue) method, which sets startFromCurrent = true by default:
https://github.com/KyryloKuzyk/PrimeTween#inspector-integration

It's also possible to set the 'startFromCurrent' from the Debug Inspector which can be enabled by right-clicking the Inspector and switching it to Debug view. But I would still re…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KyryloKuzyk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants