浏览代码

Added missing `:` in gdscript example.

RoniPerson 4 年之前
父节点
当前提交
5870931a15
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/TileMap.xml

+ 1 - 1
doc/classes/TileMap.xml

@@ -174,7 +174,7 @@
 				Overriding this method also overrides it internally, allowing custom logic to be implemented when tiles are placed/removed:
 				[codeblocks]
 				[gdscript]
-				func set_cell(x, y, tile, flip_x=false, flip_y=false, transpose=false, autotile_coord=Vector2())
+				func set_cell(x, y, tile, flip_x=false, flip_y=false, transpose=false, autotile_coord=Vector2()):
 				    # Write your custom logic here.
 				    # To call the default method:
 				    .set_cell(x, y, tile, flip_x, flip_y, transpose, autotile_coord)