I've been working on a new type of trigger in the game. This new type of trigger has the ability to create instances of an object and thus create waves of enemies against Billy.
The trigger has several properties that I'm still finishing work tomake it more flexible and allow various configurations to createenemies in real time.
Notice the number of frogs in screenshot
Presently, I determine a collection of Game Objects that will be usedto mark the birth of the enemy positions and define also by twovectors of type Vector3 what are the random locations (for those not born overlapping objects) and assign the target to all the enemiesthat were created (oh of course, and also define how many enemiesI want to be created).
There is still much to improve, one of them is to create a waiting process between the creation of objects, for example, to createobjects with a minimum interval. It is designed and coded, but the tests I have not got the desired result, but I'm close.