var go = GameObject.FindGameObjectWithTag("Player");
Pros | Cons |
---|---|
Possible to search both single objects and entire groups | Strings are weak references and suspect to user errors. |
Relatively fast and efficient | Code is not portable as tags are hard coded in scripts. |