Question by
Hakenity · Jan 04, 2017 at 11:22 AM ·
destroytaggameobjectsclosest
Get closest gameobject in each direction
Hey everyone! I've got a simple space invaders clone and whenever I kill an alien I would like to find the closest gameobjects in a radius (the ones surrounding the destroyed alien in case there's anyone) so I can check their tags and destroy them.
Could anyone help me?
Thanks!
Comment
Best Answer
Answer by Laun_MC · Jan 04, 2017 at 11:40 AM
Check this question: GameObject.Find closest
Your answer
Follow this Question
Related Questions
Find closest object with a certain tag 2 Answers
Add Clones of GameObject to List(array) 0 Answers
Unity2D Destroy doesn't get rid of game objects,Gameobject Destroy not destroying object 0 Answers
How to put ".transform" after "GameObject.FindGameObjectsWithTag()" 1 Answer
Wave Spawner does not spawn Next wave? 0 Answers