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