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