소스 검색

fix bug: valid json will failed when object template contains zIndex (#698)

kdmcser 4 년 전
부모
커밋
10cfefdf9d
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      config/schemas/objectTemplate.json

+ 4 - 0
config/schemas/objectTemplate.json

@@ -38,6 +38,10 @@
 			"type":"array",
 			"items": { "type": "string" },
 			"description": "Object mask that describes on which tiles object is visible/blocked/activatable"
+		},
+		"zIndex" :  {
+			"type":"number",
+			"description": "Defines order in which objects on same tile will be blit."
 		}
 	}
 }