UtillI
This lib provides useful feature to show some additional text in-game
About this mod Author’s original text
UtillI Library
A BepInEx library for 20 Minutes Till Dawn.
Features
Offer a easy way for modders to display text during a game of 20MTD.
Create a Registration class
using UtillI;
public class ExampleRegistration: Registration
{
public ExampleRegistration(): base(PanelPosition.BottomLeft) { }
override public string GetUpdatedText()
{
return "Some text";
}
}
For more example look at UtillI.Examples.
Register yourself
Simply register your instance of Registration to UtillIRegister:
using UtillI;
using UtillI.Examples;
UtillIRegister.Register(new ExampleRegistration());
Contributions
This UI lib was originally inspired by the BetterUI mod of @sloverlord
For modders
- Clone the repo
- Open repo in VSCode
- Setup $GameDir variable in UtillI.csproj
- build to build and deploy mod
- publish to publish a.zip file
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Install these first, or the mod will not work: