This isn’t really a Unity Specific question but how would iterate through a collection of nodes that are stored in a tree form. For example if I had a node class that holds references to its child nodes and the child nodes held references to their child nodes etc. how could Iterate over them from top down. I believe I need to use a recursive function but can’t really wrap my head around examples I’ve looked at. Any help would be appreciated.