摘要:        
function GetDayTimeInfo2() local nowUtcSec = os.time() --先计算出时区 local dateTime = os.date("!*t", nowUtcSec) --内部不加时区 local timeZoneSec = os.difftime(no    阅读全文
posted @ 2024-08-23 23:22
yanghui01
阅读(38)
评论(0)
推荐(0)
        
            
        
        
摘要:        
异步编程模式只是一个代码结构,c#中的async/await的写法就是异步编程模式,这边就是通过协程来达到和async/await类似的效果。 异步编程模式写法1:资源分帧加载 这边运行环境用的是:Unity+xLua lua脚本:Assets/Lua/Test9.lua.txt local _Ti    阅读全文
posted @ 2024-08-23 23:11
yanghui01
阅读(283)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号