GithubHelp home page GithubHelp logo

UITK for KSP 2

This mod brings Unity UI Toolkit support to Kerbal Space Program 2.

Installation

Recommended

  • Download the latest ckan.exe and place it into your KSP2 folder
  • Open CKAN, click the checkbox next to UITK for KSP 2 in the list of mods and click the "Apply changes" button in the toolbar at the top.

Manual

  • Download the latest release.
  • Extract the zip file's contents into your KSP2 folder.

Building

Build requirements

  • .NET SDK which conforms to the .NET Standard 2.1 (list here)
  • Unity 2022.5.3 - if you want to build the theme yourself

Building process

  1. Get a copy of the kerbalui addressables. You have two options:
    • Download the latest kerbalui.zip from the latest release of UitkForKsp2.Unity.
    • Build it yourself from the included Unity project:
      1. Run the command git submodule update --remote to fetch the latest version of the submodule.
      2. Add the project folder src/UitkForKsp2.Unity/UitkForKsp2.Unity to Unity Hub and open it.
      3. Open Windows -> Asset Management -> Addressables -> Groups.
      4. In this window click on Build -> New Build -> Default Build Script.
      5. You will find the build addressables in src/UitkForKsp2.Unity/UitkForKsp2.Unity/Library/com.unity.addressables/aa/Windows/.
  2. Copy the contents of either the downloaded kerbalui.zip file or the built src/UitkForKsp2.Uitk/UitkForKsp2.Unity/Library/com.unity.addressables/aa/Windows/ folder into plugin_template/addressables, so that the following hierarchy is created:
     plugin_template/addressables
     ├── AddressablesLink/...
     ├── StandaloneWindows64/...
     ├── catalog.json
     └── settings.json
    
  3. Open the UitkForKsp2.sln solution and build it, using either Visual Studio 2022, JetBrains Rider, or the dotnet CLI tool.
  4. Depending on the chosen build configuration, the full plugin can be found in one of the folders inside dist.

UITK for KSP2's Projects

kerbalui icon kerbalui

Unity project for the default UITK theme for Kerbal Space Program 2

uitkforksp2.unity icon uitkforksp2.unity

Unity package with assets and controls for creating UIs with UITK for KSP 2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.