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
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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