unity change tag in script

Code Example - unity change tag in script

                
                        gameObject.tag = "NewTagName"