public virtual void Play(QuickAnimation clip, float timeStart = 0, float timeEnd = Mathf.Infinity) { foreach (QuickAnimationPlayer player in _animationPlayers) { player.Play(clip, timeStart, timeEnd); } }
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); } }
public virtual void Play(QuickAnimation clip, float timeStart = 0, float timeEnd = Mathf.Infinity) { _playAnimationClip = clip; Play(timeStart, timeEnd); }