unity how to tell what tag and object has code example Example: get if object has tag unity if (NameOfGameObject.tag == "A-Tag") { // some code }