How to use methods in AssemblyCsharp?
So I'm completely new to this and I'm trying to hack a game called mini guns on steam. I opened up the Assembly-CSharp.dll in dnSpy and under a class called "CheatControl" there are literally hacks already made lol - there are methods that modify your manpower or give you gold (I assume these were made for debug purposes). But how do I use those methods? When I try to create an OnGUI() method it always makes it public extern void OnGUI(), which doesn't let me add anything to it. I can't find a way to get rid of the extern. Also sorry if this is a stupid question but where are the classes actually initialized (i.e. a new object is created)?
