check if the the object has a tag from a string unity code example Example: get if object has tag unity if (NameOfGameObject.tag == "A-Tag") { // some code }