コード例 #1
0
        private void MainMenu()
        {
            if (GUILayout.Button("Crafting Component"))
            {
                _craftingMenu.Show();
            }

            //if (GUILayout.Button("Skill Component"))
            //{
            //    //_skillMenu.Show();
            //}

            //if (GUILayout.Button("Quest Component"))
            //{
            //    //_questMenu.Show();
            //}

            //if (GUILayout.Button("Enchantment Component"))
            //{

            //}

            if (GUILayout.Button("Auto Sell Component"))
            {
                _autoSellMenu.Show();
            }

            if (GUILayout.Button("Options"))
            {
                _miscItemsMenu.Show();
            }
        }
コード例 #2
0
        private void MainMenu()
        {
            if (GUILayout.Button("Regular Crafting Component"))
            {
                _regularCraftingMenu.Show();
            }

            if (GUILayout.Button("Glitch Crafting Component"))
            {
                _glitchCraftingMenu.Show();
            }

            if (GUILayout.Button("Auto Sell Component"))
            {
                _autoSellMenu.Show();
            }

            if (GUILayout.Button("Options"))
            {
                _miscItemsMenu.Show();
            }
        }