Exemple #1
0
 public virtual void Play(QuickAnimation clip, float timeStart = 0, float timeEnd = Mathf.Infinity)
 {
     foreach (QuickAnimationPlayer player in _animationPlayers)
     {
         player.Play(clip, timeStart, timeEnd);
     }
 }
Exemple #2
0
 public virtual void Record()
 {
     if (enabled)
     {
         _recordedAnimation   = new QuickAnimation(_animator);
         _recordTimeFrame     = 1.0f / (float)_recordFPS;
         _recordTimeStart     = Time.time;
         _recordTimeLastFrame = Time.time;
         SetState(State.Recording);
         UpdateStateRecording(0, false);
     }
 }
Exemple #3
0
 public virtual void Play(QuickAnimation clip, float timeStart = 0, float timeEnd = Mathf.Infinity)
 {
     _playAnimationClip = clip;
     Play(timeStart, timeEnd);
 }