


(mapId, x, y, sx, sy, changeRegion, save) Save = true/false // Saves the changes made to the map if true. Swaps out a tile with all layers of a tile located on another map. X = The X Location on the Game Map to swap out. Y = The Y Location on the Game Map to swap out.

Sx = The X Location of the desired tile on the Tile Map. (mapId, sx, sy, width, height, x, y, changeRegion, save) Sy = The Y Location of the desired tile on the Tile Map.ĬhangeRegion = true/false // Changes the regionId of tile to match Tile Map tile if true. Swaps out an area of tiles with tiles found on another map. Sx = The X Location of the upper left corner of the desired area on the Tile Map. Sy = The Y Location of the upper left corner of the desired area on the Tile Map. Width = The number of tiles wide the area is. Height = The number of tiles high the area is.ĬhangeRegion = true/false // Changes the regionId of tiles in area to match Tile Map tiles if true. Returns the area back to its default tiles. X = The X Location of the upper left corner of the desired area. Y = The Y Location of the upper left corner of the desired area. RegionId = The New Region Id to assign to the tile. Swaps out an area of tiles on the Game Map using a prefab set up in TileMap Notes.
