Answers for "unity how to clear children"

C#
19

unity delete all children

foreach (Transform child in transform) {
     Destroy(child.gameObject);
 }
Posted by: Guest on June-06-2020

Code answers related to "unity how to clear children"

C# Answers by Framework

Browse Popular Code Answers by Language