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