Setting up a Development Environment

From KSP 2 Modding Wiki

There are three main types of projects that you will be creating most of the time:

  • Unity project - used to add objects such as parts or planets into the game.
  • .NET project - mostly composed of C# code, useful for example for various small QoL and gameplay enhancements or fixes, etc.
  • Mixed project - a combination of the previous two, used for example if you want to create parts with custom modules, or when making a gameplay tool with a UI.

To set up a standalone Unity project, see Setting up Unity.

For the .NET and mixed project types, you can use the SpaceWarp.Template. Further instructions are provided on the repository's homepage.