Summary
Equivalent to
GameObject.FindObjectOfType
but with a scope limited to stone's simulation agents
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Containing Type
- TimeStoneUtils
Syntax
public static T FindObjectOfTypeInSimulationAgents<T>(TimeStone stone)
Type Parameters
Name | Description |
---|---|
T | The type of object searched |
Parameters
Name | Type | Description |
---|---|---|
stone | TimeStone | The stone to search in |
Return Value
Type | Description |
---|---|
T | The first object of this type in TimeStone's simulation agents |