Skip to content

1. Setup

one-nora edited this page May 10, 2026 · 2 revisions
  1. Add references to WKLib.dll (found here) and ImuiBepInEx.dll (found here).
  2. Make sure your plugin imports the WKLib namespace (using WKLib.API;)
  3. Add WKLib as a hard dependency, like so
using BepInEx;
using WKLib.API;

[BepInDependency(WKLibPlugin.GUID, BepInDependency.DependencyFlags.HardDependency)]
public sealed class Plugin : BaseUnityPlugin
{    
	// your plugin
}

DLL reference guide

  • For Visual Studio: use Add Reference in the Reference Manager, then Browse if the DLL is on disk. Reference Link
  • For Rider: right-click the project, choose Add Reference, then use Add From... to select the assembly file. Reference Link

Clone this wiki locally