Exemple #1
0
        private void InitializeModOptionsController()
        {
            Log.Debug("SkylineToolkit", "Initialize mod options controller");

            if (ToolkitGameObject == null)
            {
                EnsureGameObject();
            }

            if (ToolkitGameObject.GetComponent <ModOptionsController>() == null)
            {
                ToolkitGameObject.AddComponent <ModOptionsController>();
            }
        }
Exemple #2
0
        private void InitializeMainMenuMod()
        {
            Log.Debug("SkylineToolkit", "Initialize MainMenu modification");

            if (ToolkitGameObject == null)
            {
                EnsureGameObject();
            }

            if (ToolkitGameObject.GetComponent <MainMenuModification>() == null)
            {
                ToolkitGameObject.AddComponent <MainMenuModification>();
            }
        }
Exemple #3
0
        private void InitializePermaMod()
        {
            Log.Debug("SkylineToolkit", "Initialize PermaMod");

            if (ToolkitGameObject == null)
            {
                EnsureGameObject();
            }

            if (ToolkitGameObject.GetComponent <SkylineToolkitPermaMod>() == null)
            {
                ToolkitGameObject.AddComponent <SkylineToolkitPermaMod>();
            }
        }