Переглянути джерело

Merge pull request #98587 from skyace65/SurroundingCells

Improve `TileMapLayer` get surrounding cells description
Thaddeus Crews 10 місяців тому
батько
коміт
47e7fb4406
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      doc/classes/TileMapLayer.xml

+ 1 - 1
doc/classes/TileMapLayer.xml

@@ -135,7 +135,7 @@
 			<return type="Vector2i[]" />
 			<param index="0" name="coords" type="Vector2i" />
 			<description>
-				Returns the list of all neighboring cells to the one at [param coords].
+				Returns the list of all neighboring cells to the one at [param coords]. Any neighboring cell is one that is touching edges, so for a square cell 4 cells would be returned, for a hexagon 6 cells are returned.
 			</description>
 		</method>
 		<method name="get_used_cells" qualifiers="const">