TimeStoneUtils.

FindObjectOfTypeInSimulationAgents<T>(TimeStone) Method

Summary

Equivalent to GameObject.FindObjectOfType but with a scope limited to stone's simulation agents

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