unity get all tagged objects code example Example: find gameobject with tag GameObject.FindWithTag("Enemy");