lua協同程序

http://www.runoob.com/lua/lua-coroutine.html --[[lua中的協同程序:意義和unity中一樣 lua中協同程序的函數被放在corotine的表中 協同程序狀態:掛起、執行、死亡、正常 創建:coroutine.create(function)   ->掛起狀態 執行:coroutine.resume(cor) ]]          
相關文章
相關標籤/搜索