Logo

dev-resources.site

for different kinds of informations.

Using xLua in Unity

Published at
8/4/2024
Categories
unity3d
lua
Author
ku6ryo
Categories
2 categories in total
unity3d
open
lua
open
Author
6 person written this
ku6ryo
open
Using xLua in Unity

This is my note of my testing of xLua. I'm using "Unity 2022.3.27" and URP.

Installation

From the release page, download the source code zip file. The latest build today is "Tag:v2.1.16_with_ohos".

Put all the files and the folders in "Assets" folder into your Unity project (some meta files, XLua, Plugin folder).

In "Examples" folder, there's "ExampleGenConfig.cs" and it causes an error.

Assets\XLua\Examples\ExampleGenConfig.cs(112,36): error CS0246: The type or namespace name 'MemberInfo' could not be found (are you missing a using directive or an assembly reference?)
Enter fullscreen mode Exit fullscreen mode

You can delete the file to use xLua.

Build

Windows

I just built an app for windows in the way we build.

Android

Switch to Android platform. Go to [XLua top menu] -> [Generate Code] to generate platform specific codes. Then, build an APK file.

lua Article's
30 articles in total
Favicon
Polyglot: Lua (Part 1)
Favicon
Polyglot: Lua (Part 0)
Favicon
Rust-like Iteration in Lua
Favicon
Lua as your favorite Programming Language
Favicon
How to configure neovim's Lua LS for Love2D
Favicon
4G module update for the power failure alarm device with call telephone function
Favicon
Managing LSPs in Neovim: Enable/Disable for the Entire Session
Favicon
Austria RP Roblox
Favicon
FiveM RAT Analysis
Favicon
So... I created yet another Neovim plugin
Favicon
When (not) to write an Apache APISIX plugin
Favicon
Using xLua in Unity
Favicon
Doing Horrible Things in Haskell
Favicon
Supercharge Your Neovim Workflow with project-cli-commands.nvim
Favicon
Extensible Control of Reaper via OSC and Scripts
Favicon
Buscadores personalizados con Mini.Pick
Favicon
Kong Plugin Development: Local Development and Installation on Your Laptop/VM
Favicon
Running Lua C modules in a pure Lua environment (1)
Favicon
5 Lesser-Known Programming Languages That Are Easy to Learn and Highly Effective
Favicon
pico 8 game missing flag game by nassim hadadd
Favicon
How to Code with Lua on ESP32 with XEdge32
Favicon
Five ways to pass parameters to Apache APISIX
Favicon
libcert: Implementing S/MIME PKI in Lua (2)
Favicon
libcert: Implementing S/MIME PKI in Lua (1)
Favicon
Kong plugin development with breakpoint debugging
Favicon
Implementing the Idempotency-Key specification on Apache APISIX
Favicon
Complete and Quick Guide to Lua 🌑
Favicon
Understanding If Statements in Lua
Favicon
Understanding Loops in Lua
Favicon
Understanding Lua's lfs Module

Featured ones: