Set the tile group and tile definition at the specified tile index.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
The tile group to place in the map.
The tile definition to place in the map.
The column index of the tile.
The row index of the tile.
This function is for use when you're creating a tile map programmatically, versus creating it ahead of time with the scene editor.
enable is set to
true, the surrounding tiles of a painted area will be controlled by the tile group, too. When automapping is disabled, just the tile definition will be placed without modify any of the neighboring tiles.