Closed AinaVT closed 9 months ago
Both menus are working, but there is a bug right now where if you close the in-game quick menu with the escape key while the mod menu is open, the quick menu becomes unclickable. Fixing it.
Important detail about Harmony:
Turns out that the 0Harmony.dll that comes with BepInEx is what crashes unity, even when it's stripped. Trying to use the 0Harmony20.dll doesn't crash unity, but the patching simply does not work and I can't really explain why.
So until I figured out a way to not make it crash OR i change the project's structure to separate the project into both a unity project or assets and VS solution for the plugin code, I'll keep a stripped version of version 2.3.0.0 of the original Harmony releases. There are some API differences, like Harmony2 not having CreateAndPatchAll
, but for this project it should do just fine, at least for now. Tested and worked fine with the published mod.
Everything seems fine during test, so I'll just call it.
Needed to write a few new things:
ConfigMenuManager
to handle all the stuff like open and close the menu itself, notification, and interface audio.Also added a couple of animations for opening and closing the menu and notifications (yes, i did get distracted).
All that is left is to add it to both places now.