Is there any way to get the bone position in unity world space (or canvas position is even better) when using SkeletonGraphic component? Trying to set up the UI with spine, by pinning objects to slots and tracking it's alpha and position. But I ran into problem of getting the bone position.
Currently trying this:
var skeletonTransform = _skeletonGraphic.rectTransform;
var targetTransform = target.GetComponent<RectTransform>();
var bonePosition = new Vector3(bone.WorldX, bone.WorldY, 0);
var matrix = Matrix4x4.TRS(skeletonTransform.position, skeletonTransform.rotation, skeletonTransform.localScale);
bonePosition = matrix.MultiplyPoint(bonePosition);
And it's not quite accurate =\