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