mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
[unity] Fix clone methods return value. Sorry!
This commit is contained in:
parent
689d753030
commit
419b5a688d
@ -669,7 +669,7 @@ namespace Spine.Unity.Modules.AttachmentTools {
|
||||
public static BoundingBoxAttachment GetClone (this BoundingBoxAttachment o) {
|
||||
var ba = new BoundingBoxAttachment(o.Name);
|
||||
CloneVertexAttachment(o, ba);
|
||||
return o;
|
||||
return ba;
|
||||
}
|
||||
|
||||
public static MeshAttachment GetLinkedClone (this MeshAttachment o, bool inheritDeform = true) {
|
||||
@ -720,7 +720,7 @@ namespace Spine.Unity.Modules.AttachmentTools {
|
||||
ma.Height = o.Height;
|
||||
}
|
||||
|
||||
return o;
|
||||
return ma;
|
||||
}
|
||||
|
||||
public static PathAttachment GetClone (this PathAttachment o) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user