Эх сурвалжийг харах

Merge branch '3.6-beta' of https://github.com/EsotericSoftware/spine-runtimes into 3.6-beta

pharan 8 жил өмнө
parent
commit
27d5f8df6a

+ 1 - 1
spine-csharp/src/Attachments/VertexAttachment.cs

@@ -35,7 +35,7 @@ namespace Spine {
 	public class VertexAttachment : Attachment {
 		static int nextID = 0;
 
-		internal int id = (nextID++ & 65535) << 11;
+		internal readonly int id = (nextID++ & 65535) << 11;
 		internal int[] bones;
 		internal float[] vertices;
 		internal int worldVerticesLength;