how to change the tag of an object in unity code example Example: unity change tag in script gameObject.tag = "NewTagName"