mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Make cloned attachment names uniform.
This commit is contained in:
parent
4fbd6677c7
commit
e78c795a80
@ -901,7 +901,7 @@ namespace Spine.Unity.Modules.AttachmentTools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static RegionAttachment GetClone (this RegionAttachment o) {
|
public static RegionAttachment GetClone (this RegionAttachment o) {
|
||||||
return new RegionAttachment(o.Name + "clone") {
|
return new RegionAttachment(o.Name) {
|
||||||
x = o.x,
|
x = o.x,
|
||||||
y = o.y,
|
y = o.y,
|
||||||
rotation = o.rotation,
|
rotation = o.rotation,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user