SkeletonAnimation skeletonAnimation;
float = duration= skeletonAnimation.skeletonDataAsset.GetAnimationStateData().SkeletonData.FindAnimation("death").Duration;
SkeletonAnimation skeletonAnimation;
float = duration= skeletonAnimation.skeletonDataAsset.GetAnimationStateData().SkeletonData.FindAnimation("death").Duration;