gameobject getcomponent by tag code example Example: find gameobject with tag GameObject.FindGameObjectsWithTag("Enemy");