Skip to content
On this page

Using Custom Scripts with REPOLib-Sdk

Unfortunately, custom scripts cannot be developed from inside the Unity editor. Instead, you have to write your scripts elsewhere:

  • Create a new C# project for R.E.P.O. modding (see Developing Mods).
  • Write your scripts in that project.
  • Build the project and copy the output dll into your Unity project.
  • If needed, copy the BepInEx dlls to your project.
  • Attach the scripts to your prefabs.
  • Include the dll in the Extra Files field on your Mod asset.

TIP

You can use a MSBuild target to automatically copy the dll on each build.

This wiki is community-driven and open-source.