Quantcast
Channel: Questions in topic: "follow"
Viewing all articles
Browse latest Browse all 536

How to find and destroy gameobject with same tag one by one

$
0
0
Hi, i would like to ask if anybody knows a code that at first will find objects to their transform by using the gameobjectfindtag(), the idea here is to find and destroy the gameobject taged as enemy then go to the next object with its transform then destroy again the object, abd the code keed doing this until no gameobject is left in the scene, all gameobject is taged as enemy. Wish i could get help here, thanks alot.

Viewing all articles
Browse latest Browse all 536

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>