Prerequisites - mariusz-tang/KTaNE-Module-Template GitHub Wiki

There are several things you will need to get started making mods. The most important of these are Unity and a code editor such as Visual Studio or Visual Studio Code. It's also recommended to have a Version Control System; most people use Git with GitHub for hosting.

Unity

Unity is the game engine upon which the game was built. We also use it to make mods for the game.

The version of Unity you will need is Unity 2017.4.22, which you can download here.

You may be asked to select which modules you would like to install with Unity. I recommend picking only Standard Assets and, if you are not on Windows, Windows build support; you should not need any of the other modules, and you can install them at a later time should you need them.

Code Editor

A code editor is used to, unsurprisingly, edit code. Technically, you could use any text editor for this task, but many modern code editors and IDEs provide useful features like syntax highlighting and IntelliSense, so it's recommended that you use one.

I personally use Visual Studio Code as my code editor, although this is harder to set up to use with Unity for making mods. If you are just starting out, I recommend using Visual Studio. You can download both here (for Visual Studio, pick Community 2022).

Version Control

A version control system is software that is used to keep track of changes you make to your project over time, and allows you to roll back your code to a past version in case you mess anything up.

In order to follow along with this guide using the template, you should use Git with GitHub. GitHub offers cloud-based Git repository hosting, which allows you to keep your code safely on the cloud, and to share it with others. I recommend GitHub Desktop, which allows you to interact with GitHub using a GUI instead of the command line or a web browser.

You can get GitHub Desktop here. It should prompt you to make a GitHub account (or sign in), and to install Git if you haven't already.

Remember to update your repository by committing and pushing your changes every time you make significant updates to your module.

⚠️ **GitHub.com Fallback** ⚠️