Hello Guest

Author Topic: Convert Existing TileMap to Use Prefabs  (Read 2979 times)

antman

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 9
    • View Profile
Convert Existing TileMap to Use Prefabs
« on: April 05, 2014, 07:03:11 pm »
Was trying to debug some hit detection on a specific type of prefab I had added to one of my tile sprites through the TileMap > Data inspector tab and found it curious that adding a prefab to a certain tile type in the editor didn't retroactively change all of the Tiles that had already been added in the scene.

Is there no way to do this so that I can convert the Tiles in the TileMap that I've already made to use this new prefab version of my Tile?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Convert Existing TileMap to Use Prefabs
« Reply #1 on: April 06, 2014, 12:35:57 pm »
It should when you commit - the full tile map is rebuilt when this happens. In the event that there are issues - you could try deleting the render data object, and then commit again to see if it fixes it...