destroy()
Removes all layer data from this tile map and nulls the game reference.
Note: You are responsible for destroying any TilemapLayer objects you generated yourself, as Tilemap doesn't keep a reference to them.
- Source code: tilemap/Tilemap.js (Line 1929)
Please login to continue.