Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.lottie.AnimatorUpdate += this.OnAnimatorUpdate;
- private void OnAnimatorUpdate(object sender, ValueAnimator.ValueAnimatorUpdateEventArgs e)
- {
- if (e.Animation.IsRunning)
- {
- this.lottie.Speed = this.lottie.Progress > 0.5 ? 3.5F : 1F;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement