Skip to content

I have Tried to preview the Tween Setting inside The Inspector But nothing was Shown #50

Discussion options

You must be logged in to vote

The generic TweenSettings version can only be serialized and tweaked from the Inspector in Unity 2020.1+ and newer. I should probably mention this in the documentation in addition to the XML documentation:
Contains 'start' and 'end' values of an animation in addition to TweenSettings. Can be serialized and tweaked from the Inspector in Unity 2020.1+. Use this struct when the 'start' and 'end' values of an animation are known in advance.

What Unity version are you on? If you're using Unity < 2020.1, then only a non-generic TweenSettings version is available for serialization, which doesn't have the startValue and endValue fields.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MohammedMedoukh96
Comment options

Answer selected by KyryloKuzyk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants