예제 #1
0
 void RemoveMH()
 {
     if ((GameObjectsToDelete.Contains("BuyMakingHistory")) && (GameObject.Find("BuyMakingHistory") == true))
     {
         GameObject.Find("BuyMakingHistory").SetActive(false);
     }
 }
예제 #2
0
 void RemoveOrbitScene()
 {
     if ((GameObjectsToDelete.Contains("OrbitScene")) && (GameObject.Find("OrbitScene") == true))
     {
         GameObject.Find("OrbitScene").SetActive(false);
     }
 }
예제 #3
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]);
            }
        }
예제 #4
0
        public void AddAGameObject(string Name)
        {
            if (GameObjectsToDelete == null)
            {
                GameObjectsToDelete = new List <string>();
            }

            GameObjectsToDelete.Add(Name);
        }