Topic: Switching between tileset an ui image

I know I can only have a single map instance per scene.
I have a location selection screen using tileset mode.
How can I switch it to ui image mode, to show the selected location on another screen.
Thanks.

Re: Switching between tileset an ui image

Hello.

Destroy the tileset map (GameObject) and instantiate another (UI) map.
https://docs.unity3d.com/ScriptReferenc … stroy.html
https://docs.unity3d.com/ScriptReferenc … tiate.html

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Switching between tileset an ui image

It's working. Thanks for your help.
I couldn't destroy one and instantiate the other one on the same frame (at least), so a little delay made it work.