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
Simplify Purchasing For Your Business Icon
Simplify Purchasing For Your Business

Manage what you buy and how you buy it with Order.co, so you have control over your time and money spent.

Simplify every aspect of buying for your business in Order.co. From sourcing products to scaling purchasing across locations to automating your AP and approvals workstreams, Order.co is the platform of choice for growing businesses.
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