- Home /
Question by
unity_F0088F8F77766DB260E3 · May 19 at 11:04 AM ·
tagscounting
how can i count the number of tags in a designated area?,how would i detect the number of objects in a specified area?
I'm trying to make a script for a game where you need to detect the number of objects with the tag "Cube" in a target area. I'm not exactly sure how to do it as I'm relatively new to coding, what would be the cleanest way of doing so?
Comment
Your answer
Follow this Question
Related Questions
Camera not following a GameObject with Tag after spawned in the scene? 1 Answer
Bullet pickups/Accessing the inactive objects 1 Answer
Are tag settings passed down from Game Object parent to mesh child? 1 Answer
Is it possible to have my character latch to an object? 1 Answer
Creating tags via code 3 Answers