You are viewing a potentially older version of this package. View all versions.
NeoKaios-UtillI-1.0.0 icon

UtillI

This lib provides useful feature to show some additional text in-game

Date uploaded 11 months ago
Version 1.0.0
Download link NeoKaios-UtillI-1.0.0.zip
Downloads 12539
Dependency string NeoKaios-UtillI-1.0.0

This mod requires the following mods to function

BepInExPackMTD-BepInExPack_20MTD-1.0.0 icon
BepInExPackMTD-BepInExPack_20MTD

BepInEx pack for 20 Minutes Till Dawn.

Preferred version: 1.0.0

README

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
  • dotnet build to build and deploy mod
  • dotnet publish to publish a .zip file

CHANGELOG

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

1.0.0 2023-06-25

  • First release