mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[libgdx] Removed deferred attachment lookup.
This commit is contained in:
parent
5951e9f6b2
commit
5c363f0cc1
@ -84,12 +84,6 @@ public class Slot {
|
|||||||
return attachment;
|
return attachment;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Sets the name of the attachment which will be used to find the attachment in the skin the next time
|
|
||||||
* {@link #getAttachment()} is called. */
|
|
||||||
public void setAttachmentName (String attachmentName) {
|
|
||||||
this.attachmentName = attachmentName;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Sets the attachment and if it changed, resets {@link #getAttachmentTime()} and clears {@link #getAttachmentVertices()}.
|
/** Sets the attachment and if it changed, resets {@link #getAttachmentTime()} and clears {@link #getAttachmentVertices()}.
|
||||||
* @param attachment May be null. */
|
* @param attachment May be null. */
|
||||||
public void setAttachment (Attachment attachment) {
|
public void setAttachment (Attachment attachment) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user