A ResoniteModLoader mod for Resonite that allows modders to easily add custom inspector ui to components which don't have any by default.
To use simply call the CustomUILib.AddCustomInspector
function (I recommend using the generic version).
For an example on how to use this just check Example.cs
If a component already implements ICustomInspector
don't use this mod with it, instead just patch that components BuildInspectorUI function.
This image demonstrates what the Example.cs file produces.
- Install ResoniteModLoader.
- Place CustomUILib.dll into your
rml_mods
folder. This folder should be atC:\Program Files (x86)\Steam\steamapps\common\Resonite\rml_mods
for a default install. You can create it if it's missing, or if you launch the game once with ResoniteModLoader installed it will create the folder for you. - Start the game. If you want to verify that the mod is working you can check your Resonite logs.