NeighTools / UnityDoorstop

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

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

Open pardeike opened 1 year ago

pardeike commented 1 year 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