Skip to content

Hello-Meow/ModTool

Repository files navigation

ModTool mod support for Unity

Asset Store | Youtube | Forum Thread

ModTool makes it easy to add mod support to your project. It enables modders to use the Unity Editor to create scenes, prefabs and code and export them as mods for your game.

See the included examples and the Documentation for more info on how to use ModTool.

Features

  • Let modders use the Unity editor to create scenes, prefabs and code for your game
  • Scripts and assemblies are fully supported
  • Code validation
  • Supports Windows, OS X, Linux and Android
  • Mod conflict detection
  • Automatic Mod discovery
  • Asynchronous discovery and loading of mods

Limitations

  • ModTool relies on AssetBundles, which means there could be some issues if mods are created with the wrong Unity version. The exporter will check if the same version is used and inform the user if that's not the case.
  • Unity can't deserialize fields of [Serializable] types that have been loaded at runtime. This means that a Mod can't use fields of its own serializable Types in the inspector. Serializable types that aren't loaded at runtime and are part of the game do work.
  • Mods have to rely on the game's project settings. This means mods can not define their own new tags, layers and input axes. The created Mod exporter includes the game's project settings
  • Supports Unity 2017.4 and up

Acknowledgments