TweenInfo.new||doc136373

September 20, 2022

Format

TweenInfo.new(duration, easeCurve, playCount, playMode, delay)

Describe

Create a tweetinfo instance.

parameter

Variable name Type Describe
duration float animation duration (seconds), default is 1
easeCurve EaseCurve Animation jog curve, default to linear curve
playCount int Animation cycle times, default to 1
playMode TweenPlayMode Animation playback mode, default to forward
delay float Animation start delay time (seconds), default is 0

Return value

Type Describe
TweenInfo Tweetinfo example