瀏覽代碼

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

pharan 8 年之前
父節點
當前提交
27d5f8df6a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-csharp/src/Attachments/VertexAttachment.cs

+ 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;