Summary
Equivalent to
Object.FindObjectOfType
but automatically excluding any cloned simulation agents
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Containing Type
- TimeStoneUtils
Syntax
public static T FindObjectOfTypeWithoutSimulationAgents<T>() where T : UnityEngine.Object
Type Parameters
Name | Description |
---|---|
T | The object type searched |
Return Value
Type | Description |
---|---|
T | The first object of this type that is not a cloned simulation agent |