TimeStoneUtils.

FindObjectsOfTypeWithoutSimulationAgents<T>() Method

Summary

Equivalent to Object.FindObjectsOfType but automatically excluding any cloned simulation agents

Syntax

public static T[] FindObjectsOfTypeWithoutSimulationAgents<T>() where T : UnityEngine.Object

Type Parameters

Name Description
T The object type searched

Return Value

Type Description
T[] All objects of this type that is not a cloned simulation agent