When creating a Tween, I always need to pass a value for easingFunction.
80% of scenes will surely just use linear tweens. This introduces fairly advanced concepts that will most of the time not be needed. It also requires an extra import of the EasingFunction enum.
The Tween in the Utils library had this field as optional, and that made a ton of sense. We should make it optional in the Tween component too.
When creating a Tween, I always need to pass a value for easingFunction.
80% of scenes will surely just use linear tweens. This introduces fairly advanced concepts that will most of the time not be needed. It also requires an extra import of the EasingFunction enum.
The Tween in the Utils library had this field as optional, and that made a ton of sense. We should make it optional in the Tween component too.
Instead of writing this:
I want to write this: