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);
 
PREVIOUS NEXT
Tagged: #unity #destroy #child
ADD COMMENT
Topic
Name
8+5 =