Answer the question
In order to leave comments, you need to log in
How to make objects spawn randomly in Unity?
How to make objects appear in random places in a 2d game in Unity, and the shape of these objects is also determined by randomness?
Answer the question
In order to leave comments, you need to log in
Well, these can be pseudo random places, that is, we collect an array of predetermined coordinates of places where objects can appear and then randomly select from the array. Well, if they are completely random, then we determine, for example, in which ranges of coordinates objects can appear and randomly determine the place. The same with the form, we prepare a certain form and choose randomly
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question