Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity GetNestedComponentsInChildren

//Same as GetComponentInParent, but will always include inactive objects in search.

GetNestedComponentInChildren< T, NestedT > (this Transform t, bool includeInactive)
GetNestedComponentsInParents< T, NestedT > (this Transform t, List< T > list)
GetNestedComponentsInChildren< T, NestedT > (this Transform t, List< T > list, bool includeInactive=true)
...
Source by doc-api.photonengine.com #
 
PREVIOUS NEXT
Tagged: #unity #GetNestedComponentsInChildren
ADD COMMENT
Topic
Name
6+8 =