Merge branch 'dev'

This commit is contained in:
Mikhail 2024-03-29 20:54:33 +08:00
commit e9df3c46f6

View File

@ -264,8 +264,8 @@ namespace DCFApixels.DragonECS.Unity.Editors
continue;
}
var meta = pool.ComponentType.ToMeta();
genericMenu.AddItem(new GUIContent(meta.Name, meta.Description), false, OnAddComponent, pool);
string name = meta.Group.Name + meta.Name;
genericMenu.AddItem(new GUIContent(name, meta.Description), false, OnAddComponent, pool);
}
return new WorldData(genericMenu, world.PoolsCount);
}