(In progress)
This folder contains a Unity project that can be used to build custom UI elements used by this mod
- Open the Unity project using the Unity Editor.
- You should see ThunderKit settings window, press Locate Game button and select where DSP is installed.
- In your context menu select Window->Nebula->Install Packages and wait for opened window to close. Note that this step may seem to hang but usually if you wait a few seconds it will move to next step. There are 5 total packages that will be installed
- Build the main project
dotnet build
- Copy project DLLs into Unity project
dotnet build -target:"CopyAssembliesToUnityProject"
(use"Build:CopyAssembliesToUnityProject"
to rebuild main project at the same time). It's safe to ignore this error message:C:\Users\matts\src\nebula\dep\websocket-sharp\websocket-sharp\websocket-sharp.csproj : error MSB4057: The target "CopyAssembliesToUnityProject" does not exist in the project.
- Make the changes you would like to make. More can be found here on setting up your dev environment
- After that is complete build the asset bundle (Window->DSP Utils->Build Asset Bundles)
- Copy the generated asset bundle file named nebulabundle to NebulaWorld\Assets
copy .\NebulaUnity\Assets\StreamingAssets\AssetBundles\nebulabundle .\NebulaWorld\Assets\
- Rebuild the main project to see your changes
- Make sure to include changes to .\NebulaWorld\Assets\ in your PR