-
Notifications
You must be signed in to change notification settings - Fork 11
Setting up development environment
kremnev8 edited this page Feb 1, 2024
·
11 revisions
This guide assumes you know BepInEx and have a working project for it. If you don't first do this.
- Install Unity 2018.4.12f1. You can get it from here
- Create unity project and add ThunderKit to your project. Follow its initial setup guide, then continue this one. Using Thunderkit is not mandatory, but it creates more stable environment.
- After installing Thunderkit ensure that you are able to add scripts from Assembly-CSharp. For example
UIButton
script - If you need to add your scripts in unity, just add your built assembly to unity project with all of its dependecies.
- Also don't forget to copy files from unity folder to
Assets
folder in your project. It contains useful tools and utilities. You will also need to installCommonAPI
Thunderstore package to use some scripts.
If you are using Thunderkit adding external dependencies from thunderstore is easy:
- Click on
thunderkit
in context menu and selectsettings
. Find an option to selectthunderstore link
. Set it tohttps://dsp.thunderstore.io
- Click on
thunderkit
in context menu and selectpackages
. In new window you should see wordThunderstore
, expand it and you should see all needed dependecies likeBepInEx
orLDBTool
- If you have issues installing Thunderkit like this one:
Assembly has reference to non-existent assembly
mentioningUnity.PerformanceTesting
orUnity.ResourceManager
, try installingcom.unity.test-framework.performance
and addressables packages. Do note thatcom.unity.test-framework.performance
is a preview package. - If you have installed a Thunderstore package, but have issues referencing it, try enabling
Auto Reference
on its assembly. You can find this option when you select assembly inProject
tab located atPackages/<Package name here>/
. There might be more folders there, just find the main package assembly.