Пример #1
0
        public void LoadDefaultList()
        {
            if (GameObjectsToDelete == null)
            {
                GameObjectsToDelete = new List <string>();
            }

            string[] gos = new string[]
            {
                "OrbitScene", //<-- All the scene with the kerbals, planet, moon in orbit. [NOT WORKING]

                //=====Kerbals=====//
                //"model01", //<-- Kerbal Male (x3)
                //"kbFemale@jp_suspended", //<-- Kerbal Female
                //"Kerbals", //<-- All the Kerbals

                //=====Galaxy=====//
                //"MainMenuGalaxy"  //<-- SkyBox Texture (I think)
                "GalaxyCube", //<-- Skybox material (I think)
                //"SkySphere Cam", //<-- Camera following the skybox

                //=====Bottom-Right Texts=====//
                //"TextCopyright", //<-- Squad / Take 2 Copyright text
                //"TextVersionNumber", //<-- Text Version Number win the Player

                //=====Main Menu Buttons=====//
                //"Text", //<-- Loading Text

                //"MainMenu", //<-- All the menu (Logo + Buttons)
                //"logo", //<-- Kerbal Space Program Logo

                //"Start Game", //<-- Start Game Button
                //"Settings", //<-- Settings Button
                //"Community", //<-- Community Button
                //"Addons", //<-- Addons & Mods Button
                //"Credits", //<-- Credits Button
                //"Quit", //<-- Quit Button

                //=====Start Game Menu=====//
                //"Header", //<-- Continue Game Text
                //"Continue Game", //<-- Continue Game Button
                //"New Game", //<-- New Game Button
                //"Scenarios", //<-- Scenarios Button
                //"Training", //<-- Training Button
                //"BuyMakingHistory", //<-- About Making History Button
                //"Back" //<-- Back Button

                //=====Landscape=====//
                //"Directional light", //<-- Light
                //"Kerbin(Clone)" //<-- Kerbin
            };

            for (int i = 0; i < gos.Length; i++)
            {
                GameObjectsToDelete.Add(gos[i]);
            }
        }
Пример #2
0
        public void AddAGameObject(string Name)
        {
            if (GameObjectsToDelete == null)
            {
                GameObjectsToDelete = new List <string>();
            }

            GameObjectsToDelete.Add(Name);
        }