/// <summary> /// 이미 씬에 존재하는 Spine 애니메이션을 재생합니다. /// </summary> public static float SetUISpineAnimation(SkeletonGraphic targetSpine, string animName, bool loop = false) { var anmations = targetSpine.SkeletonDataAsset.GetSkeletonData(true).animations; float Duration = targetSpine.GetAnimationDuration(animName); targetSpine.AnimationState?.SetAnimation(0, animName, loop); return(Duration); }