when calling TryGetTile on TileMapTileLayer and using a y coordinate greater then the height the method returns false.
Doing the same with x while y is not at maximum will return true.
This will check the x used and returns false if it is over the width.
when calling
TryGetTile
onTileMapTileLayer
and using ay
coordinate greater then the height the method returnsfalse
. Doing the same withx
whiley
is not at maximum will returntrue
.This will check the
x
used and returns false if it is over the width.