예제 #1
0
        public static void RegisterMenu()
        {
            if (menu != null)
            {
                return;
            }

            menu = CreateInstance <SubMenuComponent>();
            menu.RegisterMenuItem("TITLE", OnTitleDataClicked);
            menu.RegisterMenuItem("INTERNAL", OnInternalTitleDataClicked);
        }
예제 #2
0
        private static void RegisterMenu()
        {
            if (_menu != null)
            {
                return;
            }

            _menu = CreateInstance <SubMenuComponent>();
            _menu.RegisterMenuItem("PROJECT", OnStandardSetttingsClicked);
            _menu.RegisterMenuItem("STUDIOS", OnTitleSettingsClicked);
            _menu.RegisterMenuItem("API", OnApiSettingsClicked);
        }