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