This mod brings Unity UI Toolkit support to Kerbal Space Program 2.
- Download the latest ckan.exe and place it into your KSP2 folder
- Open CKAN, click the checkbox next to
UITK for KSP 2in the list of mods and click the "Apply changes" button in the toolbar at the top.
- Download the latest release.
- Extract the zip file's contents into your KSP2 folder.
- .NET SDK which conforms to the .NET Standard 2.1 (list here)
- Unity 2022.5.3 - if you want to build the theme yourself
- Get a copy of the
kerbaluiaddressables. You have two options:- Download the latest
kerbalui.zipfrom the latest release of UitkForKsp2.Unity. - Build it yourself from the included Unity project:
- Run the command
git submodule update --remoteto fetch the latest version of the submodule. - Add the project folder
src/UitkForKsp2.Unity/UitkForKsp2.Unityto Unity Hub and open it. - Open
Windows -> Asset Management -> Addressables -> Groups. - In this window click on
Build -> New Build -> Default Build Script. - You will find the build addressables in
src/UitkForKsp2.Unity/UitkForKsp2.Unity/Library/com.unity.addressables/aa/Windows/.
- Run the command
- Download the latest
- Copy the contents of either the downloaded
kerbalui.zipfile or the builtsrc/UitkForKsp2.Uitk/UitkForKsp2.Unity/Library/com.unity.addressables/aa/Windows/folder intoplugin_template/addressables, so that the following hierarchy is created:plugin_template/addressables ├── AddressablesLink/... ├── StandaloneWindows64/... ├── catalog.json └── settings.json - Open the
UitkForKsp2.slnsolution and build it, using either Visual Studio 2022, JetBrains Rider, or thedotnetCLI tool. - Depending on the chosen build configuration, the full plugin can be found in one of the folders inside
dist.