UnityEditor.iOS.Xcode.PBXProject.RemoveGroupChildrenRecursive C# (CSharp) Method

RemoveGroupChildrenRecursive() private method

private RemoveGroupChildrenRecursive ( PBXGroupData parent ) : void
parent PBXGroupData
return void
        private void RemoveGroupChildrenRecursive(PBXGroupData parent)
        {
            List<string> list = new List<string>(parent.children);
            parent.children.Clear();
            foreach (string str in list)
            {
                if (this.FileRefsGet(str) != null)
                {
                    foreach (KeyValuePair<string, PBXNativeTargetData> pair in this.nativeTargets.GetEntries())
                    {
                        this.RemoveFileFromBuild(pair.Value.guid, str);
                    }
                    this.FileRefsRemove(str);
                }
                else
                {
                    PBXGroupData data2 = this.GroupsGet(str);
                    if (data2 != null)
                    {
                        this.RemoveGroupChildrenRecursive(data2);
                        this.GroupsRemove(data2.guid);
                    }
                }
            }
        }
PBXProject