public override bool SetExpanded(int id, bool expand)
{
if (!base.SetExpanded(id, expand))
{
return false;
}
InternalEditorUtility.expandedProjectWindowItems = base.expandedIDs.ToArray();
if (base.m_RootItem.hasChildren)
{
foreach (TreeViewItem item in base.m_RootItem.children)
{
if (item.id == id)
{
EditorPrefs.SetBool(kProjectBrowserString + item.displayName, expand);
}
}
}
return true;
}
}