public SpineAttachment ( bool currentSkinOnly = true, bool returnAttachmentPath = false, bool placeholdersOnly = false, string slotField = "", string dataField = "" ) : UnityEngine |
currentSkinOnly |
bool |
Filters popup results to only include the current Skin. Only valid when a SkeletonRenderer is the data source. |
returnAttachmentPath |
bool |
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 like SpineAttachment.GetAttachment and .GetHierarchy. Do not use full path anywhere else in Spine's system. |
placeholdersOnly |
bool |
Filters popup results to exclude attachments that are not children of Skin Placeholders |
slotField |
string |
If specified, a locally scoped field with the name supplied by in slotField will be used to limit the popup results to children of a named slot |
dataField |
string |
If specified, a locally scoped field with the name supplied by in dataField will be used to fill the popup results.
/// Valid types are SkeletonDataAsset and SkeletonRenderer (and derivatives)
/// If left empty and the script the attribute is applied to is derived from Component, GetComponent() will be called as a fallback.
/// |
return |
UnityEngine |
|