private void DrawTargetGroupTree(HashSet<Transform> include, Transform current, int depth, bool enable_toggles, ref bool dirty) { var children = TransformUtils.GetChildren(current); foreach (var child in children) { _DrawTargetGroupTree(include, child, depth, enable_toggles, ref dirty); } }