You are viewing a potentially older version of this package. View all versions.
cosita3cz-MenuLib-0.2.0 icon

MenuLib

Easier menu and options adding to BATIM

Date uploaded 8 months ago
Version 0.2.0
Download link cosita3cz-MenuLib-0.2.0.zip
Downloads 1565
Dependency string cosita3cz-MenuLib-0.2.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2304

README

MenuLib

MenuLib is a C# library designed to simplify the creation of in-game menu plugins for Bendy and the Ink Machine. It provides a straightforward API for adding buttons, toggles, and multi-options to menus, allowing developers to focus on functionality rather than UI implementation details.

Features

  • Easy-to-use methods for adding buttons, toggles, and multi-options.
  • Predefined menu structures for common use cases.
  • Extensible base classes for creating custom menus.
  • Lightweight and efficient, minimizing performance impact on the game.

Getting Started

To use MenuLib in your project, follow these steps:

  1. Create new bepinex plugin project.

  2. Add MenuLib.dll as reference.

  3. Import the MenuLib namespace in your plugin code:

    using MenuLib;
    
  4. Documentation will be added soon. I have no clue how it works either (its not documented yet, i still change the structure of the library for better usability, wait for release 1.0.0).

CHANGELOG

Changelog

0.1.0

  • Initial release

0.1.1

  • Fixed version number in manifest.json so it's consistent with build output.
  • Fixed namespace typo from MenuLibs to MenuLib.

0.2.0

  • Recreated the library again, this time its easier to use and more modular.
  • Nested menu support
  • i think ill stay with this design for a while, its simple and works well.
  • Gonna make single type of option, less abstraction means more possibilities.