yuyang9119 / UnityAssetStoreSupport

If you run into any issues using my assets, please submit feedback here.
5 stars 0 forks source link

Virtual Methods #31

Open JasonHJX opened 3 days ago

JasonHJX commented 3 days ago

Does TweenPlayer include some static Virtual Methods? I can call and implement simple animations directly in the program without add the mono component. Like this:

visual method
yuyang9119 commented 13 hours ago

Yes, TweenPlayer includes some static methods that correspond to the curves displayed in the Inspector. You can use these interpolation methods with the formula: (to - from) * Interpolator.MethodX(t) + from