Skip to content

cheesasaurus/HookDOTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HookDOTS

HookDOTS is a modding library for hooking Unity DOTS games. By itself, it doesn't do anything.

Why use HookDOTS?

Harmony is an excellent tool, but it fails at one important thing: Hooking unmanaged systems in IL2CPP builds.
HookDOTS was created to solve this problem. It's capable of setting prefix and postfix hooks for OnUpdate calls, for both managed and unmanaged systems.

Other features

  • Defer actions until after specific worlds have been created (e.g. for plugin bootstrapping)
  • And that's it. More DOTS-specific features can be added as needed.

Quick start

HookDOTS was originally developed for modding the game VRising, but in principle should work with other Unity DOTS games built with IL2CPP.

The API project is what mods integrate with, and targets BepInEx 6.

For a quick look at how this library can be used, see the VRising thunderstore readme. (Click on the "For Plugin Developers" part with the small triangle next to it)

There is also an Example Project.

About

BepInEx plugin to hook unity DOTS systems, for il2cpp builds

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages