Add documentation and CHANGELOG

Modify error message
This commit is contained in:
GRL 2021-07-07 17:06:23 +02:00
parent 41c60579a6
commit 64c569c42f
3 changed files with 4 additions and 7 deletions

View file

@ -134,6 +134,7 @@ If `tile` is a string, it's not the id of the tile but the value of the property
**Important !** : If you use `tile` as a number, be sure to add the `firstgid` of the tileset of the tile that you want to the id of the tile in Tiled Editor.
Note: If you want to unset a tile, use `setTiles` with `tile` set to `null`.
Example :
```javascript