xLua adds Lua script programming capabilities to C# environments such as Unity, .Net, Mono, etc. With xLua, these Lua codes can be easily called with C#. xLua has many breakthroughs in function, performance, and ease of use. The most representative of these aspects are C# implementation (methods, operators, attributes, events, etc.) can be replaced with Lua implementation at runtime; excellent GC optimization, custom struct, enumeration transfer between Lua and C# without C# gc alloc; and there is no need to generate code under the editor, and the development is lighter. Open the zip package, and you will see an Assets directory, which corresponds to the Assets directory of the Unity project. Keep this directory structure and put it in your Unity project. A complete example only requires 3 lines of code. It is recommended to bind once and reuse it. If the code is generated, calling max will not generate gc alloc.

Features

  • The intrusiveness is small, and the original code of the old project can be used without any adjustment
  • The impact is small when running, and it is basically the same as the original program without patching
  • If there is a problem, you can use Lua to patch, then you will go to the Lua code logic
  • C# implementation (methods, operators, attributes, events, etc.) can be replaced with Lua implementation at runtime
  • Excellent GC optimization, custom struct, enumeration transfer between Lua and C# without C# gc alloc
  • There is no need to generate code under the editor, and the development is lighter

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow xLUA

xLUA Web Site

You Might Also Like
Manage your IT department more effectively Icon
Manage your IT department more effectively

Streamline your business from end to end with ConnectWise PSA

ConnectWise PSA (formerly Manage) allows you to stop working in separate systems, and helps you build a more profitable business. No more duplicate data entries, inefficient employees, manual invoices, and the inability to accurately track client service issues. Get a behind the scenes look into the award-winning PSA that automates processes for each area of business: sales, help desk, support, finance, and HR.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xLUA!

Additional Project Details

Operating Systems

Linux, Android, Apple iPhone, Mac, Windows

Programming Language

C

Related Categories

C Software Development Software

Registered

2021-08-13