Recursively sets the active state of the given object and all its children.
The object to set the active state of.
The state to set.
Optional
// turn off all components on this object and its childrensetComponentsActive(this.someObject, undefined, false); Copy
// turn off all components on this object and its childrensetComponentsActive(this.someObject, undefined, false);
Recursively sets the active state of the given object and all its children.