摘要: https://github.com/Tencent/xLua/blob/master/Assets/XLua/Doc/hotfix.md xLua所有的配置都支持三种方式:打标签;静态列表;动态列表。 配置有两必须两建议: 列表方式均必须是static的字段/属性 列表方式均必须放到一个stati 阅读全文
posted @ 2022-02-27 23:37 sun_dust_shadow 阅读(341) 评论(0) 推荐(0) 编辑
摘要: https://github.com/Tencent/xLua/blob/master/Assets/XLua/Doc/XLua%E6%95%99%E7%A8%8B.md 本章节涉及到的实例均在XLua\Tutorial\LuaCallCSharp下 new C#对象 你在C#这样new一个对象: 阅读全文
posted @ 2022-02-27 19:36 sun_dust_shadow 阅读(268) 评论(0) 推荐(0) 编辑
摘要: https://github.com/Tencent/xLua/blob/master/Assets/XLua/Doc/XLua%E6%95%99%E7%A8%8B.md C#访问Lua 这里指的是C#主动发起对Lua数据结构的访问。 本章涉及到的例子都可以在XLua\Tutorial\CSharp 阅读全文
posted @ 2022-02-27 18:47 sun_dust_shadow 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://github.com/Tencent/xLua/blob/master/Assets/XLua/Doc/XLua%E6%95%99%E7%A8%8B.md Lua文件加载 执行字符串 最基本是直接用LuaEnv.DoString执行一个字符串,当然,字符串得符合Lua语法 比如: l 阅读全文
posted @ 2022-02-27 16:07 sun_dust_shadow 阅读(223) 评论(0) 推荐(0) 编辑