Reading the game's code
A big part of making mods is reading the game's code to figure out how to use and change it, so here's how to do that.
Important: Do not share any of the decompiled code, as this would technically be classed as piracy and we don't want to anger the lawyers!
Prerequisite software:
Decompiling:
Download dnSpy from above and unzip it
Run
dnSpy.exe
, notdnSpy.Console.exe
Go to
File > Open
and select theMyScriptAssembly.dll
you copied earlierThere should now be a list of C# types on the left (you may have to expand the dropdowns first)
Last updated