What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-18 20:07:22
Unity search all chidren of parent object
using System.Collections.Generic; private List<GameObject> listOfChildren; private void GetChildRecursive(GameObject obj){ if (null == obj) return; foreach (Transform child in obj.transform){ if (null == child) ... Add solution