Question by
nicxl · Dec 05, 2015 at 08:27 PM ·
collisioninstantiateprefab
Instantiating a tile in place of another tile
Pls help
I don't have the knowledge to do this, and a little new to Unity, so i'm on here. (2D project)
The trouble i have is instantiating an (1) exit tile in the level in place of one of the already instantiated tiles, (instantiating the exit tile somewhere in the level) where tiles are instantiated in random positions, and detecting if the player has collided with the exit tile.
(If this doesn't make sense, please ask, im bad at explaining this stuff)
(The code might be too long, and only putting a sample would be insufficient, i'm putting a -notepad.cc link in here)
Any help would be appreciated, thanks!
Comment