hi guys,
I currently use the following snippet to spawn my mushrooms (level-ups) for a 2D sidescroller game.
need help to spawn objects not too close to eachother
I currently use the following snippet to spawn my mushrooms (level-ups) for a 2D sidescroller game.
Code (CSharp):
- {
- if (stopping == false)
- {
- }
- if (mushroom != null)
- {
- {