unity component == GameObject.FindWithTag() code example
Example 1: find gameobject with tag
GameObject.FindWithTag("Enemy");
Example 2: find gameobject with tag
GameObject.FindGameObjectsWithTag("Enemy");
GameObject.FindWithTag("Enemy");
GameObject.FindGameObjectsWithTag("Enemy");