예제 #1
0
 /// <summary>
 /// Continues playing the animation from its current position. If speed &lt; 0, it will play backwards
 /// from the current position.
 /// </summary>
 public virtual void ResumeAnimation()
 {
     if (_compositionLayer == null)
     {
         _lazyCompositionTasks.Add(composition =>
         {
             ResumeAnimation();
         });
         return;
     }
     _animator.ResumeAnimation();
 }
예제 #2
0
 public void TestResumingMaintainsValue()
 {
     _animator.Value = 0.5f;
     _animator.ResumeAnimation();
     Assert.Equal(0.5f, _animator.Value);
 }