com.github.jan-bures.ksp2uitk 0.2.5
UITK for KSP 2
(experimental) This mod brings Unity UI Toolkit support to Kerbal Space Program 2.
How to use
For examples of how to use this in a SpaceWarp mod, see the UitkTestMod project.
Build requirements
- Visual Studio 2022
- .NET SDK which conforms to the .NET Standard 2.0 (list here)
- Unity 2020.3.33 - if you want to build the theme yourself
Building
- Copy all the
.dllfiles from<KSP 2 Folder>/KSP2_x64_Data/Managedintoexternal_dlls. - Get a copy of the
panelsettingsbundle. You have two options:- Download it from the latest release of Kerbal UI
- Build it yourself from the included
KerbalUIproject. All you need to do is open it in Unity, and in the toolbar chooseAssets->Build AssetBundles. You will find the built bundle inKerbalUI/Assets/AssetBundles/panelsettings.
- Copy the
panelassetsfile intoksp2_uitk/assets/bundles. - Open the
Ksp2Uitk.slnsolution and build it. - Depending on the chosen build configuration, the full plugin can be found in one of the
DebugorReleasefolders.
No packages depend on com.github.jan-bures.ksp2uitk.
.NET Standard 2.0
- BepInEx.Analyzers (>= 1.0.8)
- BepInEx.AssemblyPublicizer.MSBuild (>= 0.4.0)
- BepInEx.Core (>= 5.4.21)
- BepInEx.PluginInfoProps (>= 2.1.0)
- HarmonyX (>= 2.10.1)
- UnityEngine.Modules (>= 2020.3.33)
- UnityEngine.UITK (>= 2020.3.33)