set script refrence through tag unity code example Example: HOW TO SET TAG IN SCRIPT UNITY gameObject.tag