Method FindObjectsWithTag
FindObjectsWithTag(params string[])
Locates all objects of that have the specified tag.
public static IEnumerable<NwObject> FindObjectsWithTag(params string[] tags)
Parameters
tagsstring[]The tag/s of the objects to locate.
Returns
- IEnumerable<NwObject>
An enumeration containing all objects with the specified tags.
FindObjectsWithTag<T>(params string[])
Locates all objects of the specified type that have the specified tag.
public static IEnumerable<T> FindObjectsWithTag<T>(params string[] tags) where T : NwObject
Parameters
tagsstring[]The tag/s of the objects to locate.
Returns
- IEnumerable<T>
An enumeration containing all objects with the specified tags.
Type Parameters
TThe type of objects to search.