Hello,
I have use this one to check Spibe Bounding Box in Unity
// get bounding box attachment "hitArea" from slot "slotHitArea"
bba = skeletonAnimation.skeleton.GetAttachment("slotHitArea", "hitArea") as BoundingBoxAttachment;
in Update check mouse state and whether click was in Bounding Box
if (Input.GetMouseButton(0))
{
skeletonBounds.Update(skeletonAnimation.skeleton, true);
Polygon polygon = skeletonBounds.getPolygon(bba);
Vector3 clickPoint = Camera.main.ScreenToWorldPoint(Input.mousePosition);
clickPoint = skeletonAnimation.transform.worldToLocalMatrix.MultiplyPoint(clickPoint);
if (skeletonBounds.ContainsPoint(polygon, clickPoint.x, clickPoint.y))
{
}
else
{
}
}