setAttachment method

void setAttachment(
  1. Attachment<Pointer<NativeType>>? attachment
)

Implementation

void setAttachment(Attachment? attachment) {
  _bindings.spine_slot_set_attachment(_slot, attachment != null ? attachment._attachment.cast() : nullptr);
}