Summary
Equivalent to
GameObject.FindGameObjectWithTag
but automatically excluding any cloned simulation agents
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Containing Type
- TimeStoneUtils
Syntax
public static GameObject FindGameObjectWithTagWithoutSimulationAgents(string tag)
Parameters
Name | Type | Description |
---|---|---|
tag | string | The searched tag |
Return Value
Type | Description |
---|---|
GameObject | The first object with this tag in TimeStone's simulation agents |