public static void DrawPaths(Transform transform, Skeleton skeleton) { foreach (Slot s in skeleton.DrawOrder) { var p = s.Attachment as PathAttachment; if (p != null) { SpineHandles.DrawPath(s, p, transform, true); } } }