Documentation

Unity Engine

Download Unity

Unity Engine

StopTime

The time on the clip curves where the clip ends, in seconds.
Read time 1 minuteLast updated 4 hours ago

Definition

public float StopTime { get; }

Remarks

The clip stops here even if its curves have keys after this time.
AnimationClip.length
reports the end of the curves instead, so it can be later than the stop time.
Additional Resources: Clip.StartTime, Clip.Length