syncWith method
Synchronizes this action with the passed other action. This method can be chained.
Synchronizing is done by setting this action’s time and timeScale values to the corresponding values of the other action (stopping any scheduled warping).
Note: Future changes of the other action's time
and timeScale
will not
be detected.
Implementation
AnimationAction syncWith(AnimationAction action) {
time = action.time;
timeScale = action.timeScale;
return stopWarping();
}