UnityEditor.MemoryTreeList.FindNamedChild C# (CSharp) Method

FindNamedChild() private method

private FindNamedChild ( string name, List list, MemoryElement &outChild ) : bool
name string
list List
outChild MemoryElement
return bool
        private bool FindNamedChild(string name, List<MemoryElement> list, out MemoryElement outChild)
        {
            foreach (MemoryElement element in list)
            {
                if (element.name == name)
                {
                    outChild = element;
                    return true;
                }
            }
            outChild = null;
            return false;
        }