mirror of
https://github.com/DerTyp7/industrialize-unity.git
synced 2025-10-30 21:07:11 +01:00
6 lines
196 B
C#
6 lines
196 B
C#
public class MenuDictionary : Dictionary<Menu>
|
|
{
|
|
// Menus are registering themselves automatically
|
|
public override Menu GetEntryById(string id) => entries.Find(entry => entry.id == id);
|
|
}
|