View on Asset Store (opens in new tab)
Package details
- Latest version
- 3.1.1
- Last updated
- First released
- Unity version
- 6000.3.13 or later
- Package size
- 975 KB
- Files
- 42
- Favorites
- 56
- Views in the past week
- 21
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $14.00 on
Keywords
Lua Modding Framework
- Price drop
uLua is a scripting framework which enables development with Lua within Unity Engine. Players and developers may use your Lua API to add content to your project by writing Lua scripts.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 6
Lua Modding Framework screenshot 1
About this asset
uLua is a scripting framework which enables development with Lua within Unity Engine. Players and developers may use your Lua API to add content to your project by writing Lua scripts.
It works by setting up a scene-wide Lua environment and exposing game objects to it. Objects exposed to the Lua context can then be accessed in Lua scripts, allowing users to interact with Unity Engine at runtime.
uLua includes the following features:
- Lua Sandbox: Expose your game components and data structures to Lua by utilising the base classes provided.
- Custom Script Execution: Execute Lua scripts from the Resources folder or an external user directory.
- Custom Assets: Allow users to load custom assets into your game within Lua (images, audioclips, text files, asset bundles).
- Event Bus System: Invoke events in C# or Lua and implement the relevant callbacks/handlers in Lua.
- Packages: Organise scripts and assets in packages which can be easily installed and removed from a project. Packages feature a dependency system which can be used to enforce a specific execution order.
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.
From the publisher's Asset Store listing.
Technical details
Note: You must install the Unity MoonSharp plugin before you can use uLua.
uLua consists of the following main scripts:
- uLua.API: Class that implements an event handling system and a script execution framework.
- uLua.LuaExposeSequencer: MonoBehaviour script which exposes other MonoBehaviours to Lua as configured in the inspector.
- uLua.LuaMonoBehaviour: MonoBehaviour script which exposes its instances to Lua. To use as a base for game object components which will be accessible in your API.
Compatibility
uLua has been tested and is compatible with the following LTS versions of Unity:
- 6000.3.0f1
As listed on the Asset Store.