Preface

UnityInjector is a patch for Unity Engine games that allows to sideload custom MonoBehaviours from external managed assemblies. UnityInjector is easily customisable to work with any Unity Engine game, as long as its code is compiled into managed CIL assemblies.

Download the tool

The tool is made by HongFire user usagirei and is available on HongFire and GitHub.

The tool requires ReiPatcher to work, so make sure you have it downloaded and set up.

About this tutorial

In this tutorial we shall discuss the following topics:

  • How to configure and install the tool
  • How to write UnityInjector-compatible plugins
  • How to use ExIni to load and manage configuration files