LocalPositionAtSpeed using TweenSettings #131
-
Hi, I just wanna know if there is a reason why that method is not public |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey! That method is private bacause the Hope this answers the question :) |
Beta Was this translation helpful? Give feedback.
Hey! That method is private bacause the
TweenSettings
struct doesn't have a field to representspeed
. Everything in PrimeTween is based on duration, so adding a newspeed
field to the TweenSettings struct didn't feel right. And reusing the duration field to store speed is counterintuitive. So I just decided to keep things simple and made that method private to prevent confusion.Hope this answers the question :)