xLua
xLua copied to clipboard
xLua is a lua programming solution for C# ( Unity, .Net, Mono) , it supports android, ios, windows, linux, osx, etc.
我看到有 make_osx_silicon_lua53.sh 和 make_osx_silicon_lua54.sh,但没有针对 LuaJIT 的脚本。
下载最新 release 版,解压 lua54_v2.1.16_with_ohos.tgz 文件之后,并没有 WebGL 目录,是什么原因?
Hi. I would like to know how to correctly manage indexes of array/list instanced from CS ? In CS : array/list indexes start at 0. In Lua : table indexes...
public override void Initialize(GameObject eventSystem) { base.Initialize(eventSystem); luaEnv = new LuaEnv(); LuaEnv.CustomLoader loader = CustomLoader; luaEnv.customLoaders.Clear(); luaEnv.AddLoader(loader); luaEnv.AddBuildin("pb", XLua.LuaDLL.Lua.LoadLuaProfobuf); luaEnv.AddBuildin("rapidjson", XLua.LuaDLL.Lua.LoadRapidJson); } private byte[] CustomLoader(ref string filepath) { TextAsset asset...
Since I wanted to blacklist some methods and I didn't care about overloaded versions of it, I found it tedious to list all parameters even if there are no overloaded...
> Once a loader is found, require calls the loader with two arguments: modname and an extra value, a loader data, also returned by the searcher. The loader data can...
恢复了被移除的 LuaAsset,但版本进行了简化(#876) - 修改了图标加载方式,改为使用资产 GUID 替代路径来加载 LuaAsset 图标 - 保留了使 Unity Editor 可识别 `.lua` 文件的功能,同时保留了 text 属性,兼容原有 TextAsset 的写法 几年前有人提出了类似的方案,但最终未提交 PR,于是决定补上这个 PR(#910) 原本的 LuaAsset 因复杂性被移除( d7150f3995851c2b5148747b96f6186a03b707ce ),这版则是仅让 Unity 可以使用 .lua...
对外业务使用的pushstring接口中没有自动扩大缓冲数组的长度,这里是否应该和内部接口的行为保持一致?
没有这个改动,任何带有 [GCOptimize] 标记且包含布尔字段的结构体都会导致内存分配,因为 Generator.SizeOf 将返回 -1。