unity3d Searching by GameObject's tags


Example

var go = GameObject.FindGameObjectWithTag("Player");
ProsCons
Possible to search both single objects and entire groupsStrings are weak references and suspect to user errors.
Relatively fast and efficientCode is not portable as tags are hard coded in scripts.