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