Assets/Lib.Spine/spine-unity/SkeletonExtensions.cs
/// <summary>Gets the PointAttachment's Unity World position using its Spine GameObject Transform.</summary>
Gets the PointAttachment's Unity World position using its Spine GameObject Transform.
Gets the PointAttachment ' s Unity World position using its Spine GameObject Transform .
public static Vector3 GetWorldPosition (this PointAttachment attachment, Slot slot, Transform spineGameObjectTransform) {
			Vector3 skeletonSpacePosition;
			skeletonSpacePosition.z = 0;
			attachment.ComputeWorldPosition(slot.bone, out skeletonSpacePosition.x, out skeletonSpacePosition.y);
			return spineGameObjectTransform.TransformPoint(skeletonSpacePosition);
		}
public static Vector3 GetWorldPosition ( this PointAttachment attachment , Slot slot , Transform spineGameObjectTransform ) { Vector3 skeletonSpacePosition ; skeletonSpacePosition . z = 0 ; attachment . ComputeWorldPosition ( slot . bone , out skeletonSpacePosition . x , out skeletonSpacePosition . y ) ; return spineGameObjectTransform . TransformPoint ( skeletonSpacePosition ) ; }
Gets the PointAttachment's Unity World position using its Spine GameObject Transform.
Gets the PointAttachment ' s Unity World position using its Spine GameObject Transform .
PointAttachment
this
slot
Slot
spineGameObjectTransform
Transform