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

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xLUA!

Additional Project Details

Operating Systems

Android, Apple iPhone, Linux, Mac, Windows

Programming Language

C

Related Categories

C Software Development Software

Registered

2021-08-13