Attachment와 Skin

Attachment 바꾸기

skeletonAnimation = transform.GetComponent<SkeletonAnimation>();
skeletonAnimation.skeleton.SetAttachment(SlotName, AttachName);

Skin 바꾸기

skeletonAnimation = transform.GetComponent<SkeletonAnimation>();
skeletonAnimation.skeleton.SetSkin(SkinName);

Skin에서 특정 부위만 바꾸기

1. Skin.cs 클래스 수정하기

public void AddFromSkin(Skin other)
{
    foreach (var a in other.attachments)
    {
        attachments[a.Key] = a.Value;
    }
}

2. Combined Skin 만들기