A BepInEx library for 20 Minutes Till Dawn.
Offer a easy way for modders to display text during a game of 20MTD.
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
.
Simply register your instance of Registration
to UtillIRegister
:
using UtillI;
using UtillI.Examples;
UtillIRegister.Register(new ExampleRegistration());
This UI lib was originally inspired by the BetterUI mod of @sloverlord
- Clone the repo
- Open repo in VSCode
- Setup $GameDir variable in UtillI.csproj
dotnet build
to build and deploy moddotnet publish
to publish a .zip file