First time setup: Create a new project containing this DllBuilderWindow class with and Editor folder. Give the project the name "Debug-Log-DLL-Builder" to make it easier to follow this guide.
Building the DLLs and DLL Installers:
- Open the Debug-Log-DLL-Builder project you created during first time setup.
- Import the Install Source.unitypackage found inside the Debug.Log Extensions package for the latest source code. It can be found at Assets\Sisus\Debug.Log Extensions\Installers\Install Source.unitypackage.
- Also copy over the Assets\Sisus\Debug.Log Extensions\Scripts folder found inside the Debug.Log Extensions package. While these scripts are not included in the built DLLs they are necessary for the project to compile.
- Make any changes you want to the script files in the Source directory.
- Open the DLL Builder window using the menu item Window > Debugging > Debug.Log Extensions/DLL Builder.
- Select the 1st Build Option.
- Click "Build DLLs". You will see compile errors after this - don't panic, that is normal.
- Click "Set Import Settings". The compile errors should go away.
- Click "Build Installer".
- Click "Move DLLs Under Streaming Assets". The Build DLLs button should become usable once again.
- Select the next Build Option and repeat steps 6 to 9 until you've built all four installers.
- Finally click the "Build Source installer". After this you should have 5 items in total inside the "Installers" directory.
- Create a new empty project. Let's call it "Debug-Log-Extensions-Customized".
- Install the latest version of Debug.Log Extensions to this project using the Package Manager.
- Copy over all the new installers you've created to Assets\Sisus\Debug.Log Extensions\Installers, replacing the old ones.
- Also copy over the 3 DLLs from the builder project directory Assets\StreamingAssets\DLL\UniqueNamespace to the new project at Assets\Sisus\Debug.Log Extensions\DLL, replacing the old one.
Inherits EditorWindow.