mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[csharp] Fixed RegionAttachment copy method, did not copy color. Closes #1555.
This commit is contained in:
parent
bdad0c7170
commit
cb59d8d78b
@ -198,6 +198,10 @@ namespace Spine {
|
||||
copy.height = height;
|
||||
Array.Copy(uvs, 0, copy.uvs, 0, 8);
|
||||
Array.Copy(offset, 0, copy.offset, 0, 8);
|
||||
copy.r = r;
|
||||
copy.g = g;
|
||||
copy.b = b;
|
||||
copy.a = a;
|
||||
return copy;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user