Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

deactivate all children unity

foreach (Transform child in transform)
    child.gameObject.SetActive(false);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #deactivate #children #unity
ADD COMMENT
Topic
Name
3+6 =