internal void RefreshIcons()
{
component.editor.GUIController.ProjectTree.RemoveAllChildNodes(component, Key);
foreach (LuaScriptFolderInfo subfolder in SubFolders.Values)
{
// each subfolder will take over the StartFromNode to recursively add its own children
component.editor.GUIController.ProjectTree.StartFromNode(component, key);
subfolder.AddIcon();
}
component.editor.GUIController.ProjectTree.StartFromNode(component, key);
foreach (LuaScriptFileInfo scriptfile in Scripts.Values)
{
scriptfile.AddIcon();
}
}