Component.GetComponentsInChildrenfunction GetComponentsInChildren (t : Type, includeInactive : boolean = false) : Component[]DescriptionReturns all components of Type type in the GameObject or any of its children. Only active components are returned.
JavaScript
// Disable the spring on all HingeJoints using UnityEngine; import UnityEngine function GetComponentsInChildren.<T> (includeInactive : boolean) : T[]DescriptionGeneric version. See the Generic Functions page for more details. function GetComponentsInChildren.<T> () : T[]DescriptionGeneric version. See the Generic Functions page for more details. |
