changing tag through script in unity C# code example Example: unity change tag in script gameObject.tag = "NewTagName"