Unity set gameobject tag in script code example Example: HOW TO SET TAG IN SCRIPT UNITY gameObject.tag