ScriptReference/GameObject.GetComponentsInChildren #386
Replies: 1 comment
-
|
Comment by The last overload that takes a List as a parameter allows you to cache and re-use a list, whereas the overloads that return an array will allocate memory for a new array each time you call them. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/GameObject.GetComponentsInChildren
https://docs.unity3d.com/ScriptReference/GameObject.GetComponentsInChildren.html
Beta Was this translation helpful? Give feedback.
All reactions