Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity how to destroy child

//Destroys the first child of the Parent variable
Destroy(Parent.transform.GetChild(0).gameObject);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unity #destroy #child
ADD COMMENT
Topic
Name
9+3 =