Returns the first loaded GameObject with the provided tag , if any.
- Parameters
-
| tag | The tag to search for. |
| result | When this method returns, contains GameObject with the provided tag, if found; otherwise, null. This parameter is passed uninitialized. |
| includeInactive | Should inactive GameObjects be included in the search? |
Note that searching for inactive GameObjects is a slow operation.
- Returns
true if a GameObject was found; otherwise, false.