find by tag name unity code example
Example 1: how to find object by ag unity
yourObjects = GameObject.FindGameObjectsWithTag("Respawn");
//Youtube: https://www.youtube.com/channel/UCBDHOr2HKOuMiWUj-Pu-AGA
Example 2: find gameobject with tag
GameObject.FindWithTag("Enemy");