private void InitializeModOptionsController() { Log.Debug("SkylineToolkit", "Initialize mod options controller"); if (ToolkitGameObject == null) { EnsureGameObject(); } if (ToolkitGameObject.GetComponent <ModOptionsController>() == null) { ToolkitGameObject.AddComponent <ModOptionsController>(); } }
private void InitializeMainMenuMod() { Log.Debug("SkylineToolkit", "Initialize MainMenu modification"); if (ToolkitGameObject == null) { EnsureGameObject(); } if (ToolkitGameObject.GetComponent <MainMenuModification>() == null) { ToolkitGameObject.AddComponent <MainMenuModification>(); } }
private void InitializePermaMod() { Log.Debug("SkylineToolkit", "Initialize PermaMod"); if (ToolkitGameObject == null) { EnsureGameObject(); } if (ToolkitGameObject.GetComponent <SkylineToolkitPermaMod>() == null) { ToolkitGameObject.AddComponent <SkylineToolkitPermaMod>(); } }