setAttachment method
Implementation
void setAttachment(Attachment? attachment) {
if (this.attachment == attachment) return;
this.attachment = attachment;
attachmentTime = bone.skeleton.time;
attachmentVertices = Float32List(0);
}
void setAttachment(Attachment? attachment) {
if (this.attachment == attachment) return;
this.attachment = attachment;
attachmentTime = bone.skeleton.time;
attachmentVertices = Float32List(0);
}