unity change tag from gameobjecvt code example Example: unity change tag in script gameObject.tag = "NewTagName"