SpineAttachmentPickerPick a spine attachment from a spine skeleton - skin - slot, into a string field.
Parameters
string skeletonTarget = null: the target, either be aSkeletonData,SkeletonRenderer, or component/gameObject withSkeletonRendererattached. UseGetComponent<SkeletonRenderer>()to the current object if null.string skinTarget = null: If specified, a locally scoped field with the name supplied by inskinTargetwill be used to limit the popup results to entries of the named skinstring slotTarget = null: If specified, a locally scoped field with the name supplied by inslotTargetwill be used to limit the popup results to children of a named slotbool currentSkinOnly = true: Filters results to only include the current Skin. Only valid when aSkeletonRendereris the data source.bool returnAttachmentPath = false: Returns a fully qualified path for an Attachment in the format "Skin/Slot/AttachmentName". This path format is only used by the SpineAttachment helper methods likeSpineAttachment.GetAttachmentand.GetHierarchy. Do not use full path anywhere else in Spine's systembool placeholdersOnly = false: Filters results to exclude attachments that are not children of Skin Placeholdersbool sepAsSub = true: do not seperate as sub items in the picker.
using SaintsField.Spine; // get on current target [SpineAttachmentPicker] private string spineAttachmentCurrent; // get from other field or callback public SkeletonAnimation _spine; [SpineAttachmentPicker(nameof(_spine))] private string spineAttachment;
