02 2022 档案
摘要:https://github.com/Tencent/xLua/blob/master/Assets/XLua/Doc/XLua_API.md LuaEnv类 object[] DoString(string chunk, string chunkName = "chuck", LuaTable e
阅读全文
摘要:https://github.com/Tencent/xLua/blob/master/Assets/XLua/Doc/hotfix.md xLua所有的配置都支持三种方式:打标签;静态列表;动态列表。 配置有两必须两建议: 列表方式均必须是static的字段/属性 列表方式均必须放到一个stati
阅读全文
摘要: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一个对象:
阅读全文
摘要: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
阅读全文
摘要:https://github.com/Tencent/xLua/blob/master/Assets/XLua/Doc/XLua%E6%95%99%E7%A8%8B.md Lua文件加载 执行字符串 最基本是直接用LuaEnv.DoString执行一个字符串,当然,字符串得符合Lua语法 比如: l
阅读全文
摘要:主要参考:https://zhuanlan.zhihu.com/p/390456989 https://forum.unity.com/threads/confused-on-batching.1115887/ 链接中 bgolus 的评论 几个概念1.DrawCall 2.Batch 3.Stat
阅读全文