Merge pull request #56150 from snailrhymer/patch-2

[3.x] Fix descriptions of `set_cell` and `set_cellv` in TileMap.xml
This commit is contained in:
Max Hilbrunner 2022-01-04 14:04:48 +01:00 committed by GitHub
commit 1ffcd7b92a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@
<argument index="5" name="transpose" type="bool" default="false" />
<argument index="6" name="autotile_coord" type="Vector2" default="Vector2( 0, 0 )" />
<description>
Sets the tile index for the cell given by a Vector2.
Sets the tile index for the given cell.
An index of [code]-1[/code] clears the cell.
Optionally, the tile can also be flipped, transposed, or given autotile coordinates. The autotile coordinate refers to the column and row of the subtile.
[b]Note:[/b] Data such as navigation polygons and collision shapes are not immediately updated for performance reasons.
@ -155,7 +155,7 @@
<argument index="3" name="flip_y" type="bool" default="false" />
<argument index="4" name="transpose" type="bool" default="false" />
<description>
Sets the tile index for the given cell.
Sets the tile index for the cell given by a Vector2.
An index of [code]-1[/code] clears the cell.
Optionally, the tile can also be flipped or transposed.
[b]Note:[/b] Data such as navigation polygons and collision shapes are not immediately updated for performance reasons.