Instantiate an object until edges of floor
Hello, guys. I want to instantiate multiple tiles just along the floor. I want that tiles be cut when it reaches the end of the edge of the floor automatically. Please help me to create that C# script.
Answer by ShadyProductions · Jul 02, 2017 at 08:45 PM
What do you mean with 'cut' can you gives us a little more information please.
Answer by ayyubzada · Jul 02, 2017 at 11:20 PM
As I marked in the picture that I want to get rid of the residual piece of tile. I want that the script instantiates the tiles along the floor (Obj.2) and cut (or, don't show) the residual piece of tile which is going away the floor.
Your answer
Follow this Question
Related Questions
Gameobject array 0 Answers
IndexOutOfRangeException error when getting transform of array object 0 Answers
Spawn in a different and random Spawn point from a list 0 Answers
How to instantiate bullets in multiple transforms 1 Answer
Destroy instatiate object on trigger enter / collision,destroy instantiate prefab on trigger enter 0 Answers