Summary
Outputs the
UnityEngine.AnimationClip.length
or Animancer.ITransitionDetailed.MaximumDuration
.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerUtilities
Syntax
public static bool TryGetLength(Object motionOrTransition, out float length)
Remarks
Returns false if the `motionOrTransition` is null or an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
motionOrTransition | Object | |
length | float |
Return Value
Type | Description |
---|---|
bool |