lua 在unity 中的協程使用

最近嘗試在unity中用上lua。c# 而其中會遇到的一個問題就是unity中廣泛使用的協程在lua中如何實現。函數 最終通過考慮以後決定用lua的coroutine來實現。最終的使用與unity的協程相似。lua 下面是實現代碼:spa --[[ use to stop the coroutine for a while. should be call once a while to c
相關文章
相關標籤/搜索