
代码库
文章平均质量分 79
浴霸x子
吾生也有涯,而知也无涯,吾将上下而求索。
展开
-
优先级更改
function UIAdapter:transNode(luaNode,isSwallowTouches) local function checkVisible(node) if node:isVisible() == false then return false elseif node.getParent and no原创 2017-10-13 09:38:38 · 378 阅读 · 0 评论 -
lua utf8转换
-- 分离字符function AppInfo:StringToTable(s) local tb = {} --[[ UTF8的编码规则: 1. 字符的第一个字节范围: 0x00—0x7F(0-127),或者 0xC2—0xF4(194-244); UTF8 是兼容 ascii 的,所以 0~127 就和 ascii ...转载 2019-06-14 10:43:00 · 4470 阅读 · 0 评论