Lua Modding Framework

uLua is a powerful Lua Modding framework for Unity. It enables the development of a Lua API which may be used to mod your Unity game.


uLua wraps around MoonSharp and provides an object oriented Lua Modding framework.

It works by setting up an application-wide Lua context and exposing game objects to it.

Objects exposed to the Lua context can then be accessed in Lua scripts, allowing users to interact with your game at runtime.


uLua includes the following features:

  • Lua script execution from the Resources folder or an external directory.
  • Base classes to expose your game objects and data structures to Lua.
  • Event and callback systems which allow events and functions to be invoked in C# but implemented in Lua.
  • The ability to organise scripts in packages which can be easily installed and removed.

Before you purchase uLua, feel free to check out the following resources:

  • uLua Documentation: The full documentation, including a tutorial on how to use the toolkit.
  • uLua Paddle Game: A demo game made to demonstrate the use of this framework. Comes with documentation, a tutorial, and compiled executables to test on your setup.