UnLua支持TFunction
摘要:# 需求 在c++使用TFunction接受Lua传过来的闭包函数,调用后调用Lua函数,并能正确的获得返回。 # 扩展 ## Get ``` c++ //yao template FORCEINLINE TFunction Get(lua_State* L, int32 Index, TType>
阅读全文
posted @ 2022-10-09 16:12
posted @ 2022-10-09 16:12