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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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