Summary
Equivalent to
GameObject.FindGameObjectWithTag
but with a scope limited to stone's simulation agents
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Containing Type
- TimeStoneUtils
Syntax
public static GameObject FindGameObjectWithTagInSimulationAgents(TimeStone stone, string tag)
Parameters
Name | Type | Description |
---|---|---|
stone | TimeStone | The stone to search in |
tag | string | The searched tag |
Return Value
Type | Description |
---|---|
GameObject | The first object with this tag in TimeStone's simulation agents |