[unity] Make cloned attachment names uniform.

This commit is contained in:
pharan 2018-09-23 23:55:46 +08:00
parent 4fbd6677c7
commit e78c795a80

View File

@ -901,7 +901,7 @@ namespace Spine.Unity.Modules.AttachmentTools {
}
public static RegionAttachment GetClone (this RegionAttachment o) {
return new RegionAttachment(o.Name + "clone") {
return new RegionAttachment(o.Name) {
x = o.x,
y = o.y,
rotation = o.rotation,