Repository navigation
uLua Documentation v1.2.1
This version introduces two new features. A blacklist for user API calls, and the ability to specify the Lua name of an ExposedMonoBehaviour component. Technical details are listed below.
uLua/API.cs:
- Added an API blacklist for user scripts. Using the
UserBlacklistoption on the Unity inspector, you can exclude specific Lua globals from being available in user scripts.
uLua/LuaMonoBehaviour.cs:
- Added the option to assign a Lua name to
LuaMonoBehaviourscripts. To use this feature, use theNameoption on the Unity inspector, or theNamefield in a script. If a name is not specified, the game object's name will be used by default.
uLua/Lua.cs:
- Added a warning for when a Lua global is reassigned using the
Lua.Set()method.