TimeStoneUtils.

FindGameObjectsWithTagWithoutSimulationAgents(string) Method

Summary

Equivalent to GameObject.FindGameObjectsWithTag but automatically excluding any cloned simulation agents

Syntax

public static GameObject[] FindGameObjectsWithTagWithoutSimulationAgents(string tag)

Parameters

Name Type Description
tag string The searched tag

Return Value

Type Description
GameObject[] The first object with this tag in TimeStone's simulation agents