Quantcast
Channel: Questions in topic: "tagging"
Viewing all articles
Browse latest Browse all 120

How to make Object X spawn when there're no more Objects tagged "XYZ" in scene?

$
0
0
Hey there, I'm trying to come up with a simple script that basically searches for objects in the current scene that are given a certain tag. If those objects still exist, the script continues simply repeats the search...and carries on for eternity until there the tagged objects are all gone. And then the script says "Oh, now I activate my prefab." Any ideas on how to do this in a very flexible way?

Viewing all articles
Browse latest Browse all 120

Trending Articles



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