- Home /
Question by
delfinatarga · Oct 24, 2017 at 01:16 PM ·
enemyrandomspawning
Enemies randomly appearing behind objects
Hello i'm new to unity so if i say something dumb please forgive me. I'm making a game for my class and i need to make the enemies appear randomly behind specific objects, to shoot at them. But i can't find the right way to do it. Can somebody help me out with this?
Comment
Answer by Tourist · Oct 26, 2017 at 07:43 AM
Create GameObject in your scene that will act as spawn points.
Reference those transforms in some list or so and whenever you want to spwan an enemy, spawn it on a transform that is empty.
Your answer
Follow this Question
Related Questions
Need help with enemy respawn script 1 Answer
enemy aggro region definitive answer 1 Answer
How to make enemy run animation 3 Answers
Obstacle avoidance not working 0 Answers