public static void RegisterMenu() { if (menu == null) { menu = ScriptableObject.CreateInstance <SubMenuComponent>(); menu.RegisterMenuItem("TITLE", OnTitleDataClicked); menu.RegisterMenuItem("INTERNAL", OnInternalTitleDataClicked); } }
public static void RegisterMenu() { if (menu == null) { menu = ScriptableObject.CreateInstance <SubMenuComponent>(); menu.RegisterMenuItem("PROJECT", OnStandardSetttingsClicked); menu.RegisterMenuItem("STUDIOS", OnTitleSettingsClicked); menu.RegisterMenuItem("API", OnApiSettingsClicked); menu.RegisterMenuItem("PACKAGES", OnPackagesClicked); } }