public override void StopPlayback()
 {
     if (AnimationMode.InAnimationPlaybackMode())
     {
         AnimationMode.StopAnimationPlaybackMode();
         this.SnapTimeToFrame();
     }
 }
Ejemplo n.º 2
0
        public override void StopPlayback()
        {
            if (AnimationMode.InAnimationPlaybackMode())
            {
                AnimationMode.StopAnimationPlaybackMode();

                // Snap to frame when playing stops
                SnapTimeToFrame();
            }
        }
Ejemplo n.º 3
0
 public override void StartPlayback()
 {
     if (this.canPlay)
     {
         if (!AnimationMode.InAnimationPlaybackMode())
         {
             AnimationMode.StartAnimationPlaybackMode();
             this.m_PreviousUpdateTime = Time.realtimeSinceStartup;
             this.StartRecording();
         }
     }
 }