Remember that this finds a gameobject by name, not tag, if the latter is what you intended. It will return null when no gameobject with such a name is found.
↧