how to empty an array in unity code example
Example: unity clear array
for (int i = 0; childs.Length; i++) { childs[i] = null // or childs[i] = 0; }
for (int i = 0; childs.Length; i++) { childs[i] = null // or childs[i] = 0; }