This BepInEx-Mod allows to create Dynamic Mod menus easily.
- use the DLL of this mod as an Assembly Reference in your BepInEx-Mod.
- add a dependency for this BepInExMod
- use the included CustomCommand and CommandInput classes to create each Mod to execute -> f.e.: MyCustomCommand:CustomCommand
- use
RegisterCommand(CustomCommand)to register any command you want to be executed
-> top of file:Using CTDynamicModMenu.CTDynamicModMenu;
->CTDynamicModMenu.Instance.RegisterCommand(MyCustomCommand) - compile your mod
- Install both this and your mod as a plugin and enjoy
Here is Template which you can use to get a basic structure for your Mod: https://github.com/Toemmsen96/CTDynMMTemplate
Using this Template you can skip steps 1-4 to have a first working Version.