[csharp] Fixed RegionAttachment copy method, did not copy color. Closes #1555.

This commit is contained in:
Harald Csaszar 2019-11-27 10:35:47 +01:00
parent bdad0c7170
commit cb59d8d78b

View File

@ -198,6 +198,10 @@ namespace Spine {
copy.height = height; copy.height = height;
Array.Copy(uvs, 0, copy.uvs, 0, 8); Array.Copy(uvs, 0, copy.uvs, 0, 8);
Array.Copy(offset, 0, copy.offset, 0, 8); Array.Copy(offset, 0, copy.offset, 0, 8);
copy.r = r;
copy.g = g;
copy.b = b;
copy.a = a;
return copy; return copy;
} }
} }