P
P
PyChan2021-07-29 20:40:15
Unity
PyChan, 2021-07-29 20:40:15

Why, when I instantiate an object on a clone of an object, does it appear on its original, and not on the clone?

There is a cube, several of its clones are created in the cycle through Instantiate, when you click on the clone, an object should appear in its cell, however, it appears in the cell of the original cube. Now I have the initial cube on the stage. When it was not on the scene and the link to the original referred to the prefab, the object appeared at the origin. In general, I would be extremely grateful to someone who can help get rid of this garbage.

PS The problem was solved. When clicked, I got the coordinates of the clone in the grid, by which I looked at it in the array, and in the array all the elements referred to one object.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question