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