In this video we see how to create an object at a random position in Unity.
The main idea of this video is to show how we can define a list of positions and how to select a position at random from that list, once we solve that problem we simply use that position in the Instantiate function to create a new object at runtime. As we saw in a previous video:
How to CREATE prefabs AT RUNTIME:
• How to CREATE OBJECT by code in Unity
____________________________________________________________
Watch the following repository where I'll be sharing solutions and examples for Unity
👇
https://github.com/GameDevTraum/GDT-S...
https://gamedevtraum.itch.io/
/ gamedevtraum
____________________________________________________________