浏览代码

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."
 		}
 	}
 }