Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»GameObject Actions»Get Tag Count
Index
Navigation
Community Wiki

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

Tags:

Last modified on 1/3/2016 9:46 PM by User.

  • RSS Feed