AnimationState.lengthvar length : floatDescriptionThe length of the animation clip in seconds.
JavaScript
// Print the length of the walk animation in seconds using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > AnimationState | ||||
AnimationState.lengthvar length : floatDescriptionThe length of the animation clip in seconds.
JavaScript
// Print the length of the walk animation in seconds using UnityEngine; import UnityEngine |