unity find tag in rigidbody code example Example: find gameobject with tag GameObject.FindGameObjectsWithTag("Enemy");