2D Toolkit Forum

2D Toolkit => Support => Topic started by: Dharwin on April 12, 2015, 02:36:55 am

Title: Default list of layers for a tilemap?
Post by: Dharwin on April 12, 2015, 02:36:55 am
Hey all,

Every time I create a tilemap, I create the same set of layers. Sometimes I tweak them further, but I always start with the same 6 or so.

Is there a way to have these created by default when I make a new tilemap? I don't think I can do a prefab, because the prefab is linked to specific tilemap data.

If there isn't a built-in way to do it, I may look to the API to add a toolbar button for it.

Thanks for any help.
Title: Re: Default list of layers for a tilemap?
Post by: unikronsoftware on April 12, 2015, 02:09:30 pm
You can reuse the tilemap data instead of creating a new one every time. The tilemap data is what stores the layer, and prefab data.