C# Класс Spine.Unity.SpineAttachment

Наследование: SpineAttributeBase
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
currentSkinOnly bool
placeholdersOnly bool
returnAttachmentPath bool
slotField string

Открытые методы

Метод Описание
GetAttachment ( string attachmentPath, SkeletonDataAsset skeletonDataAsset ) : Spine.Attachment
GetAttachment ( string attachmentPath, Spine skeletonData ) : Spine.Attachment
GetHierarchy ( string fullPath ) : SpineAttachment.Hierarchy
SpineAttachment ( bool currentSkinOnly = true, bool returnAttachmentPath = false, bool placeholdersOnly = false, string slotField = "", string dataField = "" ) : UnityEngine

Smart popup menu for Spine Attachments

Описание методов

GetAttachment() публичный статический Метод

public static GetAttachment ( string attachmentPath, SkeletonDataAsset skeletonDataAsset ) : Spine.Attachment
attachmentPath string
skeletonDataAsset SkeletonDataAsset
Результат Spine.Attachment

GetAttachment() публичный статический Метод

public static GetAttachment ( string attachmentPath, Spine skeletonData ) : Spine.Attachment
attachmentPath string
skeletonData Spine
Результат Spine.Attachment

GetHierarchy() публичный статический Метод

public static GetHierarchy ( string fullPath ) : SpineAttachment.Hierarchy
fullPath string
Результат SpineAttachment.Hierarchy

SpineAttachment() публичный Метод

Smart popup menu for Spine Attachments
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. ///
Результат UnityEngine

Описание свойств

currentSkinOnly публичное свойство

public bool currentSkinOnly
Результат bool

placeholdersOnly публичное свойство

public bool placeholdersOnly
Результат bool

returnAttachmentPath публичное свойство

public bool returnAttachmentPath
Результат bool

slotField публичное свойство

public string slotField
Результат string