فهرست منبع

[unity] Make cloned attachment names uniform.

pharan 7 سال پیش
والد
کامیت
e78c795a80
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      spine-unity/Assets/Spine/Runtime/spine-unity/Modules/AttachmentTools/AttachmentTools.cs

+ 1 - 1
spine-unity/Assets/Spine/Runtime/spine-unity/Modules/AttachmentTools/AttachmentTools.cs

@@ -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,