Skip to content

Commit 1515357

Browse files
committed
Lots of updates (see full description)
* `Component.Animation.timeScale` is a new public property that replaces the old private `_timeScale` property. * `Component.Animation.delay` is a new public property that replaces the old private `_delay` property. * `Component.Animation.repeat` is a new public property that replaces the old private `_repeat` property. * `Component.Animation.repeatDelay` is a new public property that replaces the old private `_repeatDelay` property. * `Component.Animation.yoyo` is a new public property that replaces the old private `_yoyo` property. * `Component.Animation.inReverse` is a new public property that replaces the old private `_reverse` property. * `Component.Animation.startAnimation` is a new public method that replaces the old private `_startAnimation` method. * The `Component.Animation.getProgress` method has been fixed so it will return correctly if the animation is playing in reverse. * The `Component.Animation.remove` method will now always be called when an animation is removed, not just once. * The `Component.Animation.getRepeat` method has now been removed. You can get the value from the `repeat` property. * The `Component.Animation.setRepeatDelay` method has now been removed. You can set the value using the `repeatDelay` config property, or changing it at run-time. * `Component.Animation.complete` is a new method that handles the completion in animation playback. * The `Component.Animation.setTimeScale` method has now been removed. You can set the value using the `timeScale` config property, or changing it at run-time. * The `Component.Animation.getTimeScale` method has now been removed. You can read the value using the `timeScale` property. * The `Component.Animation.getTotalFrames` method has been fixed and won't error if called when no animation is loaded. * The `Component.Animation.setYoyo` method has now been removed. You can set the value using the `yoyo` config property, or changing it at run-time. * The `Component.Animation.getYoyo` method has now been removed. You can read the value using the `yoyo` property.
1 parent 13601ad commit 1515357

1 file changed

Lines changed: 426 additions & 308 deletions

File tree

0 commit comments

Comments
 (0)