Skip to content

uLua Documentation v2.1.0

Compare
Choose a tag to compare
@atrapalis atrapalis released this 29 Oct 10:07
· 2 commits to main since this release

This update adds support for a Lua debugger and significantly improves error reporting for Lua scripts. For instructions on how to set up the debugger, read section 8 in the documentation of this version.

API.cs:

  • Significantly improved error messages for errors in Lua scripts. The majority of errors should now include the filename of the script that caused the exception.
  • Added support for the MoonSharp Visual Studio Code debugger. The debugger can be enabled with the 'Enable Debugger' option in the inspector. To attach the debugger to your scene, you must use set up a Visual Studio Code workspace. Read section 8 in the documentation for detailed instructions.
  • Added a MainResourcesFolder variable which is used by the debugger to locate resource scripts.