I am making a game, in which you have to collect a certain number of boxes for supplies. To track said quest I would like to be able to count the number of objects tagged as “questbox” in my scene. How would I go about doing this any help would be amazing thank you!
You can use this method. It will return a list of game objects with a specific tag (questbox for you).
Then you can ask for the length of the list (have a look at the last code example in the link I gave you.