Home »Action Reference»GameObject Actions»Get Tag Count
Index

Get Tag Count

Gets the number of game objects in the scene with the specified Tag.

Tag
The Tag to search for.
Store Result
Store the number found in an int variable.

 

 

NOTE: There is a Unity bug that can cause this action to return the wrong count:

http://stackoverflow.com/questions/27980776/gameobject-findgameobjectwithtag-returning-clone