{ How to instantiate a RANDOM OBJECT in Unity }

Опубликовано: 14 Ноябрь 2024
на канале: GDT Solutions ES
9,463
167

In this video we see how to make appear an object chosen at random in Unity, for that we are going to define an array of GameObjects where we will assign the prefabs that can be instantiated, then we will see how to generate a random index to choose one of the objects of the array and how to create a copy of the object and position it somewhere in the scenario.

____________________________________________________________
LINKS

Portfolio: https://gamedevtraum.com/en/portfolio...

LinkedIn:   / gamedevtraum  

Downloads: https://gamedevtraum.itch.io/

Contact:   / gamedevtraum  
____________________________________________________________

#EN