NeighTools / UnityDoorstop

Doorstop -- run C# before Unity does!
GNU Lesser General Public License v2.1
419 stars 62 forks source link

Suggestion: a signal/callback for when the game is loaded #49

Open pardeike opened 7 months ago

pardeike commented 7 months ago

Hi,

awesome project and a lifesaver. However, I needed to patch the game as soon as Assembly-CSharp.dll is loaded but before any of its code is called. I have a sort of ugly workaround and made a custom Doorstop.dll project for it: https://github.com/pardeike/Rimworld-Doorstop. It would be nice to have a second entry that is called as soon as the games code is loaded so I can refer and use its types in my doorstop project.

Cheers