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