- Home /
Question by
nati8oy · Jan 07, 2019 at 04:30 AM ·
tilemaplayersinstantiate prefabsorting order
How do you choose which layer a prefab instantiates to?
Hi there! I am instantiating prefabs into my scene every 2 seconds using an IEnumerator. However I have a tilemap in the scene which the prefabs are actually Instantiating below. This means that the tiles within my tilemap are obscuring the prefabs. I understand how sorting layers work, however this doesn't seem to apply when the prefabs are being instantiated and not manually placed into the scene. Is there a way to set the prefabs to instantiate above the tilemap?
Comment