Overview
ZLua product goals, dual-runtime architecture, documentation map, and initialization flow.
Host API
LuaAppDomain (including GetFunction), [LuaMarshalAs], [LuaAlias].
Type system
Spec for Lua-side access to C# types, members, and construction. Applies to Il2Cpp (Player) and Mono (Editor).
Method overloads
How C# method overloads are resolved and invoked from Lua. Applies to Il2Cpp (Player) and Mono (Editor).
zlua standard library
Lua API of the global zlua table.
Lifetime and GC
ObjectRegistry, struct-related registries, Opaque validity, single lua_State, and C#↔Lua exception translation.
Multi-version management
The package does not ship a full libil2cpp tree; Install overlays patch + zlua-runtime + chosen Lua onto the current Unity stock sources.
Migration adaptors (xLua / toLua / SLua)
Compatibility layer for Lua→C# type-access paths when migrating from xLua / toLua / SLua to ZLua.
C# extension methods
extension methods
Metatables
5 items
Marshal
11 items
Build
5 items